Swiftpack.co - Package - tonystone/tracelog-adaptive-writer

TraceLog AdaptiveWriter License: Apache 2.0

Platforms: Linux | iOS | macOS | watchOS | tvOS Swift 4.1   travis-ci.org

Overview

A Writer implementation for the TraceLog logging system that logs to the system logging facility on the platform that its running on.

  • Linux: On Linux it will writer to the systemd journal.
  • Darwin: On Darwin platforms (macOS, iOS, tvOS, watchOS) it will write to the Unified Logging System.

See TraceLog for more details.

Installation

TraceLogAdaptiveWriter supports dependency management via Swift Package Manager on All Apple OS variants as well as Linux.

Please see Swift Package Manager for further information.

Author

Tony Stone (https://github.com/tonystone)

License

TraceLogAdaptiveWriter is released under the Apache License, Version 2.0

Github

link
Stars: 1
Help us keep the lights on

Used By

Total: 0

Releases

1.0.0-beta.4 - Jun 26, 2018

Combined the UnifiedLoggingWriter and the SDJournalWriter to make an AdpativeWriter that adapts to the platform logging to the appropriate logging system on each platform.

1.0.0-beta.3 - Jun 6, 2018

Updated

  • Changed tests to use jornalctl's last message to work around Foundation issue with TimeZone.current returning GMT on Linux.

1.0.0-beta.2 - Jun 1, 2018

Added

  • Customizable SYSLOG_IDENTIFIER (See tonystone/tracelog#44).
  • TraceLog's TAG as a field in the journal.

1.0.0-beta.1 - Jun 1, 2018