Skip to content

stefanspringer1/SwiftLoggingBindingForWorkflow

Repository files navigation

SwiftLoggingBindingForWorkflow

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.

About

Binding to use a LogHandler according to swift-log as the base for a logger according to SwiftWorkflow

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages