Skip to main content

Crate slogger

Crate slogger 

Source

Modules§

logging

Macros§

blue
Formats text in blue.
blue_start
Starts blue text coloring.
bold_start
Starts bold text formatting.
colour_end
Resets text formatting and starts a new line.
cyan_start
Starts cyan text coloring.
debug
Logs a debug message.
error
Logs an error message.
green
Formats text in green.
green_start
Starts green text coloring.
info
Logs an informational message.
log_base
Base logging macro that formats log messages.
magenta_start
Starts magenta text coloring.
red
Formats text in red.
red_start
Starts red text coloring.
reset
Resets text formatting.
warn
Logs a warning message.
white_start
Starts white text coloring.
yellow
Formats text in yellow.
yellow_start
Starts yellow text coloring.