diff --git a/src/logging.rs b/src/logging.rs index 7769802..4970c3d 100644 --- a/src/logging.rs +++ b/src/logging.rs @@ -39,11 +39,14 @@ fn format_log_entry( let msg = record.args().to_string(); let level = record.level(); let msg = apply_uwu(level, msg); + let (h, m, s) = now.now().time().as_hms(); write!( w, - "[ {} ] {} {}", + "[ {} ] {}:{}:{} {}", style(level).paint(level.to_string()), - now.now(), + h, + m, + s, msg ) }