Swiftpack.co - stefanspringer1/SwiftLoggingBindingForWorkflow as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by stefanspringer1.
stefanspringer1/SwiftLoggingBindingForWorkflow 0.0.9
Binding to use a LogHandler according to swift-log as the base for a logger according to SwiftWorkflow
⭐️ 0
🕓 1 year ago
.package(url: "https://github.com/stefanspringer1/SwiftLoggingBindingForWorkflow.git", from: "0.0.9")

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.

GitHub

link
Stars: 0
Last commit: 1 year ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Dependencies

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