Modules§
- color_
log - hexplay
- This crate provides a way to Display a byte slice as it is commonly done in a hex-editor.
- impls
- levels
- prelude
Macros§
- log_
debug - Format and log message with
Level::Debug - log_
error - Format and log message with
Level::Error - log_
info - Format and log message with
Level::Info - log_
trace - Format and log message with
Level::Trace - log_
warn - Format and log message with
Level::Warn
Structs§
- Buffer
- Write colored text to memory.
- Color
HexView - HexView
Builder - A builder for the HexView struct.
Enums§
- Level
- An enum representing the available verbosity levels of the logger.
- Level
Filter - An enum representing the available verbosity level filters of the logger.
Traits§
- Colo
LogTrace - Sink
- A log sink trait that can be installed into the log subsystem using the [
pipe] function and will receive all log messages.
Functions§
- format_
hex - Returns a string formatted as a hex data dump of the supplied slice argument.
- format_
hex_ with_ colors - Formats a hex data dump to contain color ranges
- log_
level_ enabled - Returns true if the current log level is below the
currently set
LevelFilter - set_
colors_ enabled - set_
log_ level - Enable filtering of log messages using the
LevelFilter - style
- Wraps an object for formatting for styling.
- trace_
hex - Prints (using
log_trace) a data slice formatted as a hex data dump.