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)

§Features

  • timestamps
    • add a timestamp to the output
    • the timestamp can be set to one of a number of formats specified by a number of CallLogger builder functions

Structs§

  • Implements Log and some simple builder methods to configure.