Expand description
Logging initialization.
The implementation lives in bamboo-infrastructure so the server binary, the
CLI/TUI, and embedded hosts (e.g. the Bodhi Tauri app) share one policy:
daily-rotating log files with date-based retention and build-profile levels.
These re-exports preserve the historical bamboo_agent::server::logging::*
call paths.
Structs§
- LogOptions
- Tuning knobs for
init_logging_with_options.
Constants§
- DEFAULT_
MAX_ LOG_ FILES - Number of dated log files to retain before the oldest are purged on rollover. With daily rotation this is roughly two weeks of history.
Functions§
- init_
logging - Initialize stdout-only logging.
- init_
logging_ with_ home - Initialize file + stdout logging for a process rooted at
home. - init_
logging_ with_ options - Initialize file + stdout logging from explicit
LogOptions.