[][src]Function loge::init_custom

pub fn init_custom(level: Level, config: LogeFormat)

Initialized the global logger with a logger named loge, with a custom config

This should be called early in the execution of a Rust program, and the global logger may only be initialized once. Future initialization attempts will return an error.

Panics

This function fails to set the global logger if one has already been set.