apple / swift-log

A Logging API for Swift
https://apple.github.io/swift-log/
Apache License 2.0
3.54k stars 294 forks source link

Add new Discord Logger to README #256

Closed MahdiBM closed 1 year ago

MahdiBM commented 1 year ago

Discord Logger

If you need to review the implementation, the logger-related parts of the library are present in the DiscordLogger target and there is a Discord-logger section available in the README.

ktoso commented 1 year ago

Hm, it's not really a stand-alone logger package... but I guess for discord that would be perhaps weird to begin with.

I don't mind adding a link to it :) I see you're handling metadata providers nicely even 👍 Feel free to send in a PR

MahdiBM commented 1 year ago

Yeah its not standalone, and I did think of that. That's why you can only depend on DiscordLogger instead of the whole DiscordBM. It will still pull more stuff than a standalone logger package would, but I think it should be fine.