Module diem_logger::prelude

source ·

Re-exports

Macros

  • Log at the debug level
  • Log at the error level
  • Writes event to event stream Example: event!(“committed”, block=“b”);
  • Log at the info level
  • Samples a given function at a SampleRate, useful for periodically emitting logs or metrics on high throughput pieces of code.
  • Log at the trace level
  • Log at the warn level

Structs

Enums