Glider

✈️ Universal Logging - low overheaded simple & flexible for Swift (iOS, macOS, tvOS)

MIT License

Stars
56
Committers
2

Bot releases are hidden (Show)

Glider - 2.0.6 Latest Release

Published by malcommac 9 months ago

Released on 2024-01-30

  • [FIX] #9 Fixed minimum transport accept level not accepting the minimum value
Glider - 2.0.4

Published by malcommac over 1 year ago

Released on 2023-07-11

  • [NEW] Added OSLogFormatter as default formatter for OSLogTransport
Glider -

Published by malcommac over 1 year ago

Released on 2023-07-11

  • #7 Fixed compilation issue with macOS target (now it requires to 10.15.4+)
Glider - 2.0.2

Published by malcommac over 1 year ago

Released on 2023-04-16

  • #15 [FIX] Fix for crash with FileHandle on iOS 13.4+ when not enough space on disk is left
Glider - 2.0.1

Published by malcommac over 1 year ago

Released on 2023-03-06

  • Disable privacy redaction even for #RELEASE builds (using GliderSDK.shared.disablePrivacyRedaction = true
Glider - 2.0.0

Published by malcommac almost 2 years ago

Released on 2022-12-16

Glider - 1.0.2

Published by malcommac almost 2 years ago

Released on 2022-11-09

Temporary disabled SwiftLint via SPM plugin.

Glider - 1.0.0

Published by malcommac about 2 years ago

Released on 2022-09-12

This is the first public stable release. All APIs definitions are completed and all required features are present.
We're using it in production on Immobiliare/Indomio mobile applications.

Glider - 0.9.31

Published by malcommac about 2 years ago

Full Changelog: https://github.com/malcommac/Glider/commits/0.9.31

Internal pre-release. Not ready for production.

  • Added a fully guide to using Glider and third-party packages
  • Completed API reference for DoCC and XCode Quick Documentation
  • Updated all the unit tests
  • Added swiftlint support in the SPM package, fixed all warnings and errors
  • queue in Transport is now always set
  • fixed an issue in TransportManager which may lead to unexpected crashes
  • fixed an issue with GliderSentryTransport, which may lead to crashes at the startup
Glider - 0.9.30

Published by malcommac about 2 years ago

Full Changelog: https://github.com/malcommac/Glider/commits/0.9.30

Internal pre-release. Not ready for production.

  • Added new NetWatcher package to monitor and record networking calls. You can monitor both a particular URLSessionConfiguration or globally the entire application's network stack.
  • Added new transports specific for NetWatcher: NetArchiveTransport create a single package where all the network requests can be stored (it's an SQLite3 database, of course), while NetSparseFilesTransport allows you to save a file per single request inside a specific folder. They save both the request (including the cURL command) and the raw response.

This is an example of recording:

// Use sparse files to store each call
let sparseConfig = NetSparseFilesTransport.Configuration(directoryURL: rootDirectoryURL)

// Configure where the data are saved
let watcherConfig = try NetWatcher.Config(storage: .sparseFiles(sparseConfig))
NetWatcher.shared.setConfiguration(watcherConfig)

// Start recording globally
NetWatcher.shared.captureGlobally(true)

When you are okay you can disable recording just using:

NetWatcher.shared.captureGlobally(false)
Glider -

Published by malcommac about 2 years ago

Full Changelog: https://github.com/malcommac/Glider/commits/0.9.23

Internal pre-release. Not ready for production.

  • Fixed an issue when serializing data of extra fields.
  • Ability to use Message (with interpolation string which supports privacy, padding, and truncation) directly inside the extra field.
Glider - 0.9.21

Published by malcommac about 2 years ago

Full Changelog: https://github.com/malcommac/Glider/commits/0.9.21

Internal pre-release. Not ready for production.

  • Fixed an issue with unwrapping an Optional value during formatting phases of the log
  • Included the ability to include/exclude nil keys during the formatting phase of the variables
  • Fixed an issue with truncation and padding in FieldsFormatter which prevents the correct format of the log
  • Make formatting styles for Level, CallSite, and other minor structures publicly available
Glider - 0.9.16

Published by malcommac over 2 years ago

Full Changelog: https://github.com/malcommac/Glider/commits/0.9.16

Internal pre-release. Not ready for production.

  • Added isEnabled inside the configuration of each transport to initialize the instance and enable/disable it automatically after the creation
  • Both XCodeFormatter and TerminalFormatter are open classes and the function which returns their fields is open so you can customize it without rewriting the entire code.
Glider - 0.9.15

Published by malcommac over 2 years ago

Full Changelog: https://github.com/malcommac/Glider/commits/0.9.15

Internal pre-release. Not ready for production.

  • Added XCodeFormatter to format logs for ConsoleTransport specifically for XCode debug console
  • Added colors property to colorize EventFormatter instances (you can now colorize both XCode logs and logs for ANSI terminals)
  • Added TerminalFormatter to format logs for ANSI Terminal and similar outputs
Glider - 0.9.14

Published by malcommac over 2 years ago

Full Changelog: https://github.com/malcommac/Glider/commits/0.9.14

Internal pre-release. Not ready for production.

  • Added new formatter via FieldsFormatter.standard() which replaces the default one; the formatter function was slightly modified to better render when debugging (it's the default formatter for ConsoleTransport).
  • Event instances now maintain a weak link to the parent's Log instances via .log property
  • Added new subsystemIcon which allows to set an emoji for a Log representation
  • Added new formatter field icon to print the subsystem's icon of a log when set
  • Added more tests for formatters
  • Fixes for unit tests suite
Glider - 0.9.12

Published by malcommac over 2 years ago

Full Changelog: https://github.com/malcommac/Glider/commits/0.9.12

Internal pre-release. Not ready for production.

  • Added new RemoteTransport transport which can be used to send events locally via bonjour. It supports auto-reconnect and includes a tests suite.
  • Added new RemoteTransportServer which is used as a server to receive events from a RemoteTransport instance; it will be used to make the macOS/iOS log viewer client.
Glider - 0.9.10

Published by malcommac over 2 years ago

Full Changelog: https://github.com/malcommac/Glider/commits/0.9.10

Internal pre-release. Not ready for production.

  • Added support for minimumAcceptedLevel property for all Transport implementation. With this property you can make a filter at transport level; this is particularly useful when you want to limit the amount of messages received by a transport compared to another for a same Log instance (for example a Log may have set both ConsoleTransport and SentryTransport instances but only some messages must be sent to remote services in order to avoid any congestion).
  • Added transports properties in Log to set and get transport instances set.
  • Added transport(forType:) to get the first instance of a Transport's type set for a Log instance
Glider - 0.9.9

Published by malcommac over 2 years ago

Full Changelog: https://github.com/malcommac/Glider/commits/0.9.9

Internal pre-release. Not ready for production.

  • Added label for Log.Configuration and Log instance to identify a logger via combination of subsystem and category
  • Fixed several issues with TableFormatter
Glider - 0.9.6

Published by malcommac over 2 years ago

Full Changelog: https://github.com/malcommac/Glider/commits/0.9.6

Internal pre-release. Not ready for production.

  • Minor refactor on naming, comments and documentation
Glider - 0.9.5

Published by malcommac over 2 years ago

Full Changelog: https://github.com/malcommac/Glider/commits/0.9.5

Internal pre-release. Not ready for production.

  • Completed GliderELKTransport to send logs to Elasticsearch and Kibana stack
  • Completed the LogInterpolation protocol; now the Event's message is of a type Message (which still convertible to String). This allows you to use StringInterpolation protocol to compose strings which also support privacy settings like OSLogPrivacy (see examples)
Package Rankings
Top 17.5% on Cocoapods.org
Top 22.46% on Swiftpackageindex.com
Badges
Extracted from project README
Swift Platform Swift Package Manager CocoaPods Compatible
Related Projects