Crate flexi_logger_datadog

Source
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 and DataDogHttpWriter. writer.poll() will need to be spawned via a thread or runtime
spawn_tokio_logger
Create and spawn logger on the tokio runtime