diff options
author | Christian Duerr <contact@christianduerr.com> | 2020-02-14 07:35:34 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-14 10:35:34 +0300 |
commit | 988a846c52f381bdd2d211d9dbb4b9bf0f9105e5 (patch) | |
tree | 049b251a2100a974696765fba2c6555f145ef625 | |
parent | 696fc792e833f8d37b184c63ad004651b8bba5ea (diff) | |
download | alacritty-988a846c52f381bdd2d211d9dbb4b9bf0f9105e5.tar.gz alacritty-988a846c52f381bdd2d211d9dbb4b9bf0f9105e5.zip |
Add seconds and nanoseconds to log output
-rw-r--r-- | alacritty/src/logging.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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!( |