Disable file/line in debug logging from Ruby

This commit is contained in:
Matthias Beyer 2017-01-21 12:57:30 +01:00
parent 3299a7ecfc
commit 311d0b23e2

View file

@ -77,7 +77,8 @@ methods!(
debug!("Init logger with {}", lvl);
let lgr = ImagLogger::new(lvl.to_log_level().unwrap())
.with_color(colored)
.with_prefix("[imag][ruby]".to_owned());
.with_prefix("[imag][ruby]".to_owned())
.with_dbg_file_and_line(false);
Box::new(lgr)
})
.map_err(|_| {