Stub to create filenames based on time and log level.

This commit is contained in:
2020-01-20 20:16:34 -08:00
parent 1df1f708bb
commit 7b6544bfa1
4 changed files with 104 additions and 16 deletions

View File

@@ -3,8 +3,8 @@ use std::thread;
use glog;
fn main() {
glog::init();
fn main() -> Result<(), Box<dyn std::error::Error>> {
glog::init()?;
trace!("trace!");
debug!("debug!");
@@ -14,4 +14,5 @@ fn main() {
let handle = thread::spawn(|| error!("from a second thread"));
handle.join();
Ok(())
}