BlackBox

3.0.0

Library for logs and measurements
dodobrands/BlackBox

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 to BlackBox 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

New Contributors

Full Changelog: 2.0.1...3.0.0

Description

  • Swift Tools 5.6.0
View More Packages from this Author

Dependencies

Last updated: Tue Mar 12 2024 05:23:00 GMT-0900 (Hawaii-Aleutian Daylight Time)