Crate call_logger
source ·Expand description
A logger that calls another application on each log event
The target application that this library calls, is passed a JSON formatted parameter that displays the information about the log call to the target application.
Why would you do this?
- There are quick a dirty things that you might want to do with log output
- You want your log output to be handled differently in different environments which you can configure
- You want to use call a webhook/webservice to notify another service (e.g. Pushover.net, discord, AWS Cloudwatch)
Structs
- Implements
Logand some simple builder methods to configure.
Enums
- The format to use when outputting the timestamp of the log. Timestamps are only part of the log output if the
timestampsfeature is enabled forcall_logger/