Module lightning::util::logger[][src]

Expand description

Log traits live here, which are called throughout the library to provide useful information for debugging purposes.

There is currently 2 ways to filter log messages. First one, by using compilation features, e.g “max_level_off”. The second one, client-side by implementing check against Record Level field. Each module may have its own Logger or share one.

Structs

A Record, unit of logging output with Metadata to enable filtering Module_path, file, line to inform on log’s source

Enums

An enum representing the available verbosity levels of the logger.

Traits

A trait encapsulating the operations required of a logger