[][src]Function belog::init

pub fn init()

Initializes the logger with the default level, which is set to Info, but panics if it fails.

Example

belog::init();

info!("Some info here");
error!("An error occurred");