summary refs log tree commit diff stats
path: root/src/ed.rs
diff options
context:
space:
mode:
authorBen Morrison <ben@gbmor.dev>2020-05-26 19:43:37 -0400
committerBen Morrison <ben@gbmor.dev>2020-05-26 19:43:37 -0400
commitc5ea65393d9b8000d68cf8c2f887f22bdae81222 (patch)
tree4a044312814ce7b70c6d9af0a7e32b3860ee9425 /src/ed.rs
parenta24e25977e713fbc5a06778ada4c21202209a598 (diff)
downloadclinte-c5ea65393d9b8000d68cf8c2f887f22bdae81222.tar.gz
logging changes:
Rather than using a new logfile for each invocation, a single logfile
called `/tmp/clinte_$USER.log` will be used, with later invocations
appending to the previous messages.

Also removed some unnecessary `use` statements relating to the `log`
crate and its macros. Leaving the macro calls namespaced to `log::`
makes it clearer what the behavior is.
Diffstat (limited to 'src/ed.rs')
-rw-r--r--src/ed.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/ed.rs b/src/ed.rs
index 059e411..fa6d43b 100644
--- a/src/ed.rs
+++ b/src/ed.rs
@@ -3,7 +3,6 @@ use std::fs;
 use std::process;
 
 use chrono::prelude::*;
-use log;
 
 use crate::error;
 use crate::user;