Skip to content

Type of Logger #313

@bordunosp

Description

@bordunosp

Many other libraries expect as an argument "Logging.Logger"
When I create new instance XCGLogger, I cant put this logger to the "PostgresKit" or any other libs because they w8 "Logger" type, not "XCGLogger"

To solve this problem I need install some other lib: https://github.com/crspybits/swift-log-file/blob/main/Sources/FileLogging/swift_log_xcglogger.swift

I like the minimum number of dependent packages (:
Can u add a wrapper out of the box?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions