Expand description
DataDog output for flexi_logger
Modules§
- adapter
- Writable adapter that manages communication with the async writer task
- config
- Configuration structs Defaults pulled from https://docs.datadoghq.com/api/latest/logs/#send-logs
- error
- Errors
- writer
- Writer task that posts data to the api
Functions§
- init_
tokio_ logger - Create and set logger with the writer running on the tokio runtime
- new_
datadog_ http_ logger - Create
DataDogAdapter
andDataDogHttpWriter
.writer.poll()
will need to be spawned via a thread or runtime - spawn_
tokio_ logger - Create and spawn logger on the tokio runtime