Module workflow_rs::log
source · Modules
Macros
- Format and log message with
Level::Debug - Format and log message with
Level::Error - Format and log message with
Level::Info - Format and log message with
Level::Trace - Format and log message with
Level::Warn
Structs
- Write colored text to memory.
- A builder for the HexView struct.
Enums
- An enum representing the available verbosity levels of the logger.
- An enum representing the available verbosity level filters of the logger.
Traits
- A log sink trait that can be installed into the log subsystem using the
pipefunction and will receive all log messages.
Functions
- Returns a string formatted as a hex data dump of the supplied slice argument.
- Formats a hex data dump to contain color ranges
- Returns true if the current log level is below the currently set
LevelFilter - Receives an Option with an
ArcedSinktrait reference and installs it as a log sink / receiver. The sink can be later disabled by invokingpipe(None) - Enable filtering of log messages using the
LevelFilter - Wraps an object for formatting for styling.
- Prints (using
log_trace) a data slice formatted as a hex data dump.