Skip to main content

init

Function init 

Source
pub fn init(debug: bool) -> Result<(), Box<dyn Error>>
Expand description

Initialize unified logging system using tracing.

debug enables debug-level output for git-iris and rig crates. When false, only warnings and errors pass through the tracing filter. This must be called after CLI flags are parsed so --log can raise the level.

ยงErrors

Returns an error when the tracing subscriber cannot be initialized.