summaryrefslogtreecommitdiffstats
path: root/src/utils
diff options
context:
space:
mode:
authorClementTsang <clementjhtsang@gmail.com>2019-09-13 16:15:00 -0400
committerClementTsang <clementjhtsang@gmail.com>2019-09-13 16:15:00 -0400
commita5989ad0963527d201a04d92b3e5ae63110a071c (patch)
treed5690e973aa93a08884bfaa70722cdfb8b7c2f9f /src/utils
parent71ac3313e47ee14a3a73d541e2acd309267b3762 (diff)
Hopefully smoothed out curve a bit.
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/error.rs1
-rw-r--r--src/utils/logging.rs2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/utils/error.rs b/src/utils/error.rs
index 1d5c9e9f..411af11f 100644
--- a/src/utils/error.rs
+++ b/src/utils/error.rs
@@ -1 +1,2 @@
+#[allow(dead_code)]
pub struct RustopError {}
diff --git a/src/utils/logging.rs b/src/utils/logging.rs
index af4cf302..f3afea42 100644
--- a/src/utils/logging.rs
+++ b/src/utils/logging.rs
@@ -3,7 +3,7 @@ pub fn init_logger() -> Result<(), fern::InitError> {
.format(|out, message, record| {
out.finish(format_args!(
"{}[{}][{}] {}",
- chrono::Local::now().format("[%Y-%m-%d][%H:%M:%S]"),
+ chrono::Local::now().format("[%Y-%m-%d][%H:%M:%S:%f]"),
record.target(),
record.level(),
message