Expand description
Enables application-level logging with customizable features. Application logging functionality
Provides access to logging functions and types.
Modules§
- macros
- Re-exported main
rlg
module from rlg for application logging. Themacros
module contains functions for generating macros. - rlg_
macros - Re-exported
rlg_macros
module from rlg. Themacros
module contains functions for generating macros.
Macros§
- macro_
debug_ log - Re-exported main
rlg
module from rlg for application logging. Conditional debug logging Logs ifdebug_enabled
feature flag set - macro_
error_ log - Re-exported main
rlg
module from rlg for application logging. Macro for error log with default format - macro_
info_ log - Re-exported main
rlg
module from rlg for application logging. Macro for info log with default session id and format Usage: let log = macro_info_log!(time, component, description); - macro_
log - Re-exported main
rlg
module from rlg for application logging. Macro to create a new log easily Usage: let log = macro_log!(session_id, time, level, component, description, format); - macro_
log_ to_ file - Re-exported main
rlg
module from rlg for application logging. Async log message to file Usage: let result = macro_log_to_file!(log); - macro_
print_ log - Re-exported main
rlg
module from rlg for application logging. Print log to stdout Usage: macro_print_log!(log); - macro_
set_ log_ format_ clf - Re-exported main
rlg
module from rlg for application logging. Set log format if not already defined Usage: macro_set_log_format_clf!(log); - macro_
warn_ log - Re-exported main
rlg
module from rlg for application logging. Macro for warn log
Structs§
- Log
- Re-exported main
rlg
module from rlg for application logging. TheLog
struct provides an easy way to log a message to the console. It contains a set of defined fields to create a simple, log message with a readable output format.