Crate bp3d_logger
source ·Expand description
An async flexible Log implementation intended to be used with BP3D software.
Structs§
- Represents a logger guard.
- A log message.
- The base logger builder/initializer.
Enums§
- Enum of the different color settings when printing to stdout/stderr.
Traits§
- Trait to allow getting a log directory from either a bp3d_os::dirs::App or a String.
Functions§
- Disables the log redirect pump.
- Disables the stdout/stderr logger.
- Enables the log redirect pump.
- Enables the stdout/stderr logger.
- Returns true if the logger is currently enabled and is capturing log messages.
- Shortcut to the flush command to avoid having to call behind the dyn interface.
- Low-level log function. This injects log messages directly into the logging thread channel.
- Attempts to extract one log message from the buffer.
- Runs a closure in scope of a logger configuration, then free the given logger configuration and return closure result.
Type Aliases§
- The log buffer type.