We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af41c54 commit fee3a2cCopy full SHA for fee3a2c
src/bin/miri.rs
@@ -45,13 +45,11 @@ fn init_logger() {
45
let format = |record: &log::LogRecord| {
46
// prepend spaces to indent the final string
47
let indentation = log_settings::settings().indentation;
48
- let depth = indentation / NSPACES;
49
- let indentation = indentation % NSPACES;
50
- format!("{lvl}:{module}{depth:2}{indent:<indentation$}{text}",
+ format!("{lvl}:{module}{depth:2}{indent:<indentation$} {text}",
51
lvl = record.level(),
52
module = record.location().module_path(),
53
- depth = depth,
54
- indentation = indentation,
+ depth = indentation / NSPACES,
+ indentation = indentation % NSPACES,
55
indent = "",
56
text = record.args())
57
};
0 commit comments