mirror of
https://github.com/griffi-gh/kubi.git
synced 2025-02-16 14:38:20 -06:00
change module_path
to target
This commit is contained in:
parent
2fd692c24d
commit
9b6c942efe
|
@ -24,7 +24,7 @@ pub fn init() {
|
||||||
|
|
||||||
let mut location_line_style = buf.style();
|
let mut location_line_style = buf.style();
|
||||||
location_line_style.set_dimmed(true);
|
location_line_style.set_dimmed(true);
|
||||||
|
|
||||||
writeln!(
|
writeln!(
|
||||||
buf,
|
buf,
|
||||||
"{} {:<50}\t{}{}{}",
|
"{} {:<50}\t{}{}{}",
|
||||||
|
@ -36,7 +36,7 @@ pub fn init() {
|
||||||
Level::Trace => "[t]",
|
Level::Trace => "[t]",
|
||||||
}),
|
}),
|
||||||
format!("{}", record.args()),
|
format!("{}", record.args()),
|
||||||
location_style.value(record.module_path().unwrap_or("<unknown>")),
|
location_style.value(record.target()),
|
||||||
location_line_style.value(" :"),
|
location_line_style.value(" :"),
|
||||||
location_line_style.value(record.line().unwrap_or(0))
|
location_line_style.value(record.line().unwrap_or(0))
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue