summaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs
index d71ee0a..3f29d8e 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -120,14 +120,15 @@ fn main() {
fern::Dispatch::new()
.format(move |out, message, record| {
out.finish(format_args!(
- "[{}] [{}] {}",
+ "{} [{}] [{}] {}",
+ chrono::Local::now().format("%_m/%_d/%y %l:%M:%S%P"),
colors.color(record.level()),
record.target(),
message
))
})
.level(log::LevelFilter::Warn)
- .level_for("thulani_rs", log::LevelFilter::Debug)
+ .level_for("thulani_rs", log::LevelFilter::Trace)
.level_for("serenity::voice::connection", log::LevelFilter::Error)
.chain(std::io::stdout())
.apply()