Function cmd_lib::init_builtin_logger [−][src]
pub fn init_builtin_logger()
Expand description
Initializes the builtin cmd_lib logger
This is to make examples in this library work, and users should usually use a real logger
instead. When being used, it should be called early in the main() function. Default log level
is set to debug.
Panics
This function will panic if it is called more than once, or if another library has already initialized a global logger.