[go: up one dir, main page]

Crate re_log

source ·
Expand description

Text logging (nothing to do with rerun logging) for use in rerun libraries.

  • trace: spammy things
  • debug: things that might be useful when debugging
  • info: things that we want to show to users
  • warn: problems that we can recover from
  • error: problems that lead to loss of functionality or data

The warn_once etc macros are for when you want to suppress repeated logging of the exact same message.

Macros

  • Constructs an event at the debug level.
  • Logs a message once at the debug level.
  • Constructs an event at the error level.
  • Logs a message once at the error level.
  • Constructs an event at the info level.
  • Logs a message once at the info level.
  • Constructs an event at the trace level.
  • Logs a message once at the trace level.
  • Constructs an event at the warn level.
  • Logs a message once at the warn level.

Functions