Module rust_rsm::rsm::xlog

source ·
Expand description

#xlog xlog is comprise of a xlog server and multiple xlog clients, which can be configured with different log filter level application’s log message can be send to the server only when the log level higher than the log filter level each application module can create their own xlog client instance, then calling xlog client method to process log, xlog client using UDP socket to send json formatted message to xlog server, then xlog server filter the log by configured filter level after receiving client’s log message, the write to the disk periodically

Modules

Structs

configuration for create a log service
log service should be create only once in any system
Log client instance, should be created before using log function

Constants

Traits

Log listener, for application want to implement specific log storage & report function

Type Definitions