PorkStudios / PorkLib

Fast, lightweight libraries for Java. Note: this is very much a work-in-progress, documentation is spotty and the API is changing constantly!
https://daporkchop.net
Other
31 stars 5 forks source link

[Feature] Discord Redirect for Logging #56

Closed RemainingToast closed 2 years ago

RemainingToast commented 2 years ago

Would it be plausible/possible to redirect log output either thru webhook url or bot token?

DaMatrix commented 2 years ago

that could be easily done by adding a custom MessagePrinter to a DefaultLogger. i won't be adding something like that to porklib itself, as it's far out-of-scope of what the :logging module is meant to achieve.