Expand description
The logging framework for Posei systems.
Re-exports§
pub use macros::log_debug;
pub use macros::log_error;
pub use macros::log_info;
pub use macros::log_trace;
pub use macros::log_warn;
Modules§
- headers
- logger
- macros
- Colored logging macros for enhanced log output with automatic color mapping.
- writer
Constants§
Functions§
- init_
logging - Initialize logging.
- init_
tracing - Initialize tracing.
- log_
task_ aborted - Logs that a task was aborted using
tracing::debug!
. - log_
task_ awaiting - Logs that a task is being awaited using
tracing::debug!
. - log_
task_ error - Logs that there was an error in a task
tracing::error!
. - log_
task_ started - Logs that a task has started using
tracing::debug!
. - log_
task_ stopped - Logs that a task has stopped using
tracing::debug!
. - logging_
clock_ set_ realtime_ mode - Sets the global logging clock to real-time mode.
- logging_
clock_ set_ static_ mode - Sets the global logging clock to static mode.
- logging_
clock_ set_ static_ time - Sets the global logging clock static time with the given UNIX timestamp (nanoseconds).
- logging_
is_ colored - Returns whether the core logger is using ANSI colors.
- logging_
is_ initialized - Returns whether the core logger is enabled.
- logging_
set_ bypass - Sets the logging subsystem to bypass mode.
- logging_
shutdown - Shuts down the logging subsystem.
- map_
log_ level_ to_ filter - parse_
component_ levels - Parses component-specific log levels from a JSON value map.
- parse_
level_ filter_ str - Parses a string into a
LevelFilter
.