DaveWoodCom / XCGLogger

A debug log framework for use in Swift projects. Allows you to log details to the console (and optionally a file), just like you would have with NSLog() or print(), but with additional information, such as the date, function name, filename and line number.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Type of Logger

bordunosp opened this issue · comments

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?