Binding to use a LogHandler
according to swift-log as the base for a logger according to SwiftWorkflow:
let logger = SwiftLogger(logHandler: myLogHandler, closeFunction: { ... })
The message levels of SwiftWorkflow are then translated to the best fitting log levels of swift-log.
The closeFunction
argument (defaults to nil
) is called when the logger is closed.
link |
Stars: 0 |
Last commit: 1 year ago |
Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics