Expand description
Text logging (nothing to do with rerun logging) for use in rerun libraries.
Provides helpers for adding multiple loggers, and for setting up logging on native and on web.
trace
: spammy thingsdebug
: things that might be useful when debugginginfo
: things that we want to show to userswarn
: problems that we can recover fromerror
: 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.
Modules§
- Re-exports of other crates.
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.
- Standard logging macro, logging events once for each arguments.
- 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.
Structs§
- Pipe log messages to a channel.
- Produced when trying to install additional loggers when
crate::setup_logging
has not been called.
Enums§
- An enum representing the available verbosity levels of the logger.
- An enum representing the available verbosity level filters of the logger.
Traits§
Functions§
- Install an additional global logger.
- Install an additional global logger.
- Get
RUST_LOG
environment variable orinfo
, if not set. - Automatically does the right thing depending on target environment (native vs. web).