From 988a846c52f381bdd2d211d9dbb4b9bf0f9105e5 Mon Sep 17 00:00:00 2001 From: Christian Duerr Date: Fri, 14 Feb 2020 07:35:34 +0000 Subject: [PATCH] Add seconds and nanoseconds to log output --- alacritty/src/logging.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/alacritty/src/logging.rs b/alacritty/src/logging.rs index 86f01ce7..569135ec 100644 --- a/alacritty/src/logging.rs +++ b/alacritty/src/logging.rs @@ -85,7 +85,7 @@ impl log::Log for Logger { fn log(&self, record: &log::Record<'_>) { if self.enabled(record.metadata()) && record.target().starts_with("alacritty") { - let now = time::strftime("%F %R", &time::now()).unwrap(); + let now = time::strftime("%F %T.%f", &time::now()).unwrap(); let msg = if record.level() >= Level::Trace { format!(