Skip to main content

Crate lagos_logger

Crate lagos_logger 

Source

Modules§

control
A couple of functions to enable and disable coloring.
customcolors
Custom colors support.

Macros§

logger
A pretty, colorful logger macro with optional sub-levels.

Structs§

ColoredString
A string that may have color and/or style applied to it.
CustomColor
Custom color structure, it will generate a true color in the result
Style
A combinatorial style such as bold, italics, dimmed, etc.

Enums§

Color
The 8 standard colors.
Level
Styles
Enum containing all of the available style settings that can be applied to a Styles and by extension, a colrized type.
SubLevel

Traits§

Colorize
The trait that enables something to be given color.

Functions§

log_message
The core logging implementation that formats and pads the message dynamically. It behaves exactly like standard Axum/Tower logging by outputting single long lines per log entry, while still elegantly aligning subsequent lines if the message contains explicit newlines (\n).