Refine logging
This commit is contained in:
parent
2d31e86b05
commit
3c106dcb86
|
@ -179,9 +179,9 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||||
stream,
|
stream,
|
||||||
line);
|
line);
|
||||||
if d.is_empty() {
|
if d.is_empty() {
|
||||||
tracing::info!(target: "", message = %message);
|
tracing::info!(target: "", "{}", message);
|
||||||
} else {
|
} else {
|
||||||
tracing::info!(target: "", data = ?d, message = %message);
|
tracing::info!(target: "", "{} {:?}", message, d);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue