Function init_logging
Source pub fn init_logging(options: LogOptions) -> Result<(), LoggingError>
31pub fn init_example_logging() {
32 let _ = init_logging(LogOptions::default());
33}
More examples
Hide additional examples
6fn main() {
7 let _ = init_logging(LogOptions {
10 level: LogLevel::Info,
11 output: LogOutput::Terminal,
12 });
13
14 log::info!("hello from dobby-rs-framework example");
15}