Skip to main content

init

Function init 

Source
pub fn init(verbose: bool)
Expand description

Initialize the CLI logging subscriber.

This should be called once at CLI startup.

§Arguments

  • verbose - If true, debug and trace messages are shown.

§Example

fn main() {
    typub_log::init(args.verbose);
    // ... rest of CLI
}