Releases: lovetodream/swift-log-loki
v2.0.0-alpha.1
The public API (and the internals) have been completely reworked. LoggingLoki does no longer rely on FoundationNetworking
, instead it uses AsyncHTTPClient
to better support non Apple Platforms, most notably Linux.
The processor/transport is no longer tightly coupled to the LogHandler, this means it's possible to have multiple LogHandlers with the same processor. The main reason for this change was to fully leverage structured concurrency in v2. LokiProcessor conforms to ServiceLifecycle.Service
and sends logs to Loki as long as it's run
method is active.
This change allows you to send pending logs regularly without receiving a new log from a log handler, previously new logs were always needed in order to trigger a call to Loki.
Version 2 allows you to send custom service/log-handler specific labels now. You can also specify the log format sent to Loki.
The documentation is available on the Swift Package Index.
What's Changed
SemVer Major
- Repository cleanup by @lovetodream in #10
- Change license and add soundness checks by @lovetodream in #13
SemVer Minor
- Adds support for metadata providers by @lovetodream in #12
Full Changelog: v1.1.0...v2.0.0-alpha.1
v1.1.0
SemVer Minor
- Support for Swift Concurrency by adding Sendable conformance
- Support for additional platforms (iOS, watchOS, tvOS)
Full Changelog: v1.0.0...v1.1.0
v1.0.0
What's Changed
- Feature/add protobuf/snappy support by @lovetodream in #3
- docs: update features by @lovetodream in #4
- Feature/add batching by @lovetodream in #5
New Contributors
- @lovetodream made their first contribution in #3
Full Changelog: https://github.com/lovetodream/swift-log-loki/commits/v1.0.0