Swift 4.0 and LogMessages
Released on 2017-08-30. All issues associated with this milestone can be found using this filter.
Added
- Support for structured messages and simplified
Logger
setup. - New package file for Willow to support the Swift Package Manager.
- Added by Christian Noon in Pull Request #31.
Updated
- The Xcode project and source code to Swift 4.0.
- The log level enabled check to run prior to acquiring the lock or async dispatch queue resulting in a small performance gain.
- The example frameworks to not have a default logger instance.
- The example app configuration logic to match the new APIs.
- The
LogMessageWriter
protocol by splitting it into two new protocols:LogWriter
andLogModifierWriter
. The former is a basic writer. The latter is a writer that also accepts an array of modifiers to apply to incoming messages. - Example frameworks to show intended usage of the new
LogMessage
APIs.