Crate bp3d_logger
Source - Guard
- Represents a logger guard.
- LogMsg
- Represents a log message in the LogBuffer.
- Logger
- The base logger builder/initializer.
- Colors
- Enum of the different color settings when printing to stdout/stderr.
- GetLogs
- Trait to allow getting a log directory from either a bp3d_fs::dirs::App or a String.
- disable_log_buffer
- Disables the log redirect pump.
- disable_stdout
- Disables the stdout/stderr logger.
- enable_log_buffer
- Enables the log redirect pump.
- enable_stdout
- Enables the stdout/stderr logger.
- enabled
- Returns true if the logger is currently enabled and is capturing log messages.
- flush
- Shortcut to the flush command to avoid having to call behind the dyn interface.
- get_log_buffer
- Returns the buffer from the log redirect pump.
- raw_log
- Low-level log function. This injects log messages directly into the logging thread channel.
- with_logger
- Runs a closure in scope of a logger configuration, then free the given logger configuration
and return closure result.
- LogBuffer
- The log buffer type.