Crate ckb_logger_service

Crate ckb_logger_service 

Source
Expand description

CKB logger and logging service.

Structs§

Logger
The CKB logger which implements log::Log.
LoggerInitGuard
Flushes the logger when dropped.
SilentLogger
The SilentLogger which implements log::Log.

Functions§

flush
Flushes any buffered records.
init
Initializes the Logger and run the logging service.
init_for_test
Only used by unit test Initializes the Logger and run the logging service.
init_silent
Initializes the SilentLogger.