Releases: logkit/logkit
Releases · logkit/logkit
Fix for memory leak.
Fix for Carthage builds on OSX and iOS.
Added
- New automated testing to ensure Carthage builds and CocoaPods lints successfully
Fixed
- Carthage builds, due to incorrect OSX and iOS scheme settings (#20 #21 thanks @mark-anders)
New APIs, IDFA fix, Swift 2.2, more tests!
Updated
- Now with Swift 2.2 (#18 thanks @JackoPlane)
Added
- Support for manually rotating
LXRotatingFileEndpointinstances (#15 thanks @rabidaudio) - More test targets for Travis (iOS, tvOS, watchOS)
- More unit tests
- Initial support for Swift Package Manager
Fixed
- Disabled Advertising ID by default to eliminate IDFA requirements (#16 #17 thanks @rabidaudio)
Minor feature additions to the family of File Endpoints
New API for accessing the log file URLs used by the family of File Endpoints.
All changes are backward-compatible.
Added
directoryURLandcurrentURLproperties ofLXRotatingFileEndpoint,LXFileEndpoint, andLXDatedFileEndpointare now publicly accessible (#11 thanks @rabidaudio)- The File Endpoints now post notifications directly before and after automatically rotating log files
Endpoint Bugfix Update
Fixed
LXFileEndpointnow honors itsshouldAppendinitialization parameter (#9 thanks @csmann)LXConsoleEndpointsynchronicity issues resolved by outputting tostderr(#10 thanks @mark-anders)
Xcode 7.1 and tvOS support
Added
- Support for projects targeting tvOS
- Added a Logger test, which also tests generating Log Entries
Documentation updates
Fixed
- Revised the ordering of products in Xcode to match the documentation
- Minor documentation typo fixes
Documentation updates
Fixed
- Revised the ordering of products in Xcode to match the documentation
- Minor README documentation updates
HTTP JSON Endpoint initializer fix; improved documentation
Updated
- All source code documentation has been reviewed and improved
- The
LXEntryFormatter.jsonFormatter()has been made private, as it does currently behave as developers might expect. Hopefully, this formatter can be made publicly available again in the future. See #8.
Fixed
LXHTTPJSONEndpoint's designated initializer parameterdateFormatternow correctly defaults to.ISO8601DateTimeFormatter()
LogKit 2
LogKit 2 is a complete overhaul of the LogKit framework. LogKit 2 comes with new and enhanced Endpoints, watch OS compatibility, and more detailed logging information.
Added
- Swift 2 and Xcode 7 support
- watchOS support
- Rotating File Endpoint - switches to a new file when the current file approaches a maximum size
- More Log Entry properties, including OS version, device model/type, and device IDs
- A variety of built-in datetime and entry formatting options, which are easily extended
Updated
- Many objects have been renamed:
LXLogEndpointis nowLXEndpointLXLogConsoleEndpointis nowLXConsoleEndpointLXLogFileEndpointis nowLXFileEndpointLXLogDatedFileEndpointis nowLXDatedFileEndpointLXLogHTTPEndpointis nowLXHTTPEndpointLXLogHTTPJSONEndpointis nowLXHTTPJSONEndpointLXLogLevelis nowLXPriorityLevelLXLogEntryFormatteris nowLXEntryFormatter
- The
LXLogEntrypropertylogLevelhas been renamed tolevel - The JSON Endpoint's behavior has been updated in several ways:
- The
levelproperty is now included aslevel(instead oflogLevel) - The
userInfoproperty is now included as a dictionary under theuserInfokey - Uploads now consist of a JSON dictionary, with an item
entriesthat includes an array of Log Entries
- The
- Date and entry formatting are now performed by
LXDateFormatterandLXEntryFormatterobjects- Each formatter object now has a variety of built-in output formats
- The Console Endpoint may now be set as synchronous or asynchronous at init time, and will never jumble log entries
- The Serial Console Endpoint has been removed. Use the Console Endpoint asynchronously instead
- The Dated File Endpoint now rotates to a new file automatically at midnight UTC
- The HTTP and JSON Endpoints now persist pending entries until successful upload, so that log messages will not get lost on a bad network
- Entries are also persisted between application runs, so that remaining entries may be uploaded at next run