Crate kafka_logger

Source

Structs§

Record
Format of log messages send to kafka

Functions§

init
Init the kafka logger
init_from_env
Same as init but uses KAFKA_BROKER, KAFKA_TOPIC_LOG and RUST_LOG environment variables as parameters
shutdown
Waits for all remaining log messages to be send to kafka