brazier/log

Values

pub fn configure() -> Nil

Initialize the logging system. Must be called once at application startup.

pub fn debug(module: String, message: String) -> Nil

Log a debug-level message with module context. Use for: detailed tracing, variable values, internal state.

pub fn error(module: String, message: String) -> Nil

Log an error-level message with module context. Use for: failures, unrecoverable errors, assertion violations.

pub fn info(module: String, message: String) -> Nil

Log an info-level message with module context. Use for: state transitions, successful operations, lifecycle events.

pub fn set_level(level: logging.LogLevel) -> Nil

Set the minimum log level. Messages below this level are filtered out.

pub fn warning(module: String, message: String) -> Nil

Log a warning-level message with module context. Use for: unexpected but handled conditions, deprecations.

✨ Search Document