Library for logs and measurements.
What's New
3.0.0
2023-12-22T18:57:54Z
New
- Logs are synchronous. Same performance with instant results.
- Customise log format with
BBLogFormat
. Provide it to logger initialiser and it will format messages accordingly.- Fine-tune what levels should have icons in formatted messages.
- Specify user info formatting options to use when converting from JSON to String
- Print Source section inline to reduce logs size
- Customize formatter used for duration with any
MeasurementFormatter
that fits your needs.
- Customize icons for each log level to use when formatting messages using
BBLogIcon
.
Breaking
- You can't provide
DispatchQueue
straight toBlackBox
initialiser no more. If you have custom logger that requires thread-safety — implement it by yourself inside your logger. You may use DBThreadSafe-ios as a drop-in solution for this. - Carthage support is dropped out.
What's Changed
- Add BBLogFormat to customize text output by @VisualDeceit in #43
- Removed queue switching by @AllDmeat in #44
- Updating docs only for new releases by @AllDmeat in #45
- Run watchOS tests by @AllDmeat in #50
- Added test report by @AllDmeat in #51
- Measurements format can be configured by @AllDmeat in #52
- Removed Carthage support by @AllDmeat in #49
- Added default log format for FSLogger by @AllDmeat in #53
- Added BackwardsCompatibilityTests by @AllDmeat in #54
- Removed unused header by @AllDmeat in #55
- Optional empty-line prefix for log by @AllDmeat in #56
- BBLogFormat properties are public by @AllDmeat in #57
- Split formattedMessage into two methods by @AllDmeat in #58
- Per-level icon config by @AllDmeat in #59
- Custom log levels icons by @AllDmeat in #60
- Updated documentation by @AllDmeat in #61
New Contributors
- @VisualDeceit made their first contribution in #43
Full Changelog: 2.0.1...3.0.0