Skip to content

Commit 47a5cc7

Browse files
committed
Include newline in example log output
The example output was previously unreadable, since the log format didn't include a newline. Perhaps related to the env_logger bump.
1 parent 622e41e commit 47a5cc7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/example_utils.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ pub fn setup_logger(log_thread: bool, rust_log: Option<&str>) {
2222
let time_str = local_time.format("%H:%M:%S%.3f").to_string();
2323
write!(
2424
formatter,
25-
"{} {}{} - {} - {}",
25+
"{} {}{} - {} - {}\n",
2626
time_str,
2727
thread_name,
2828
record.level(),

0 commit comments

Comments
 (0)