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
1 changed files with 2 additions and 1 deletions

View File

@ -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(|_| {