Function setup_log

Source
pub fn setup_log(builder: Builder) -> Result<(), ()>
Expand description

Initialize global logger from Builder

NOTE: You can call this function multiple times when builder.dynamic=true, but cannot mixed used captains_log with other logger implement, because log::set_logger() cannot be called twice.