Disable file/line in debug logging from Ruby
This commit is contained in:
parent
3299a7ecfc
commit
311d0b23e2
|
@ -77,7 +77,8 @@ methods!(
|
||||||
debug!("Init logger with {}", lvl);
|
debug!("Init logger with {}", lvl);
|
||||||
let lgr = ImagLogger::new(lvl.to_log_level().unwrap())
|
let lgr = ImagLogger::new(lvl.to_log_level().unwrap())
|
||||||
.with_color(colored)
|
.with_color(colored)
|
||||||
.with_prefix("[imag][ruby]".to_owned());
|
.with_prefix("[imag][ruby]".to_owned())
|
||||||
|
.with_dbg_file_and_line(false);
|
||||||
Box::new(lgr)
|
Box::new(lgr)
|
||||||
})
|
})
|
||||||
.map_err(|_| {
|
.map_err(|_| {
|
||||||
|
|
Loading…
Reference in New Issue