Swiftpack.co - dodobrands/BlackBox as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by dodobrands.
dodobrands/BlackBox 3.0.0
Library for logs and measurements
⭐️ 26
🕓 18 weeks ago
iOS macOS watchOS tvOS
.package(url: "https://github.com/dodobrands/BlackBox.git", from: "3.0.0")

BlackBox

Library for logs and measurements.

Documentation.

Interactive Tutorials.

GitHub

link
Stars: 26
Last commit: 18 weeks ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Release Notes

3.0.0
18 weeks ago

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: https://github.com/dodobrands/BlackBox/compare/2.0.1...3.0.0

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics