apple / swift-log

A Logging API for Swift
https://apple.github.io/swift-log/
Apache License 2.0
3.54k stars 294 forks source link

Toggle verbose or off #244

Closed nashysolutions closed 1 year ago

nashysolutions commented 1 year ago

Kind: Feature request

Is it possible to toggle the output of the logs in this way? Perhaps only show debug level information, when we need it etc.

tomerd commented 1 year ago

this would be a feature of the log-backend, not the swift-log API. the builtin log-backend is only for development time and should be avoided in real applications