Selaa lähdekoodia

add timestamp to logs

master
Jonathan Cobb 4 vuotta sitten
vanhempi
commit
03ca1f7bfc
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. +1
    -0
      src/main.rs

+ 1
- 0
src/main.rs Näytä tiedosto

@@ -109,6 +109,7 @@ async fn main() {
.module(module_path!())
.verbosity(verbosity)
.quiet(quiet)
.timestamp(stderrlog::Timestamp::Millisecond)
.init().unwrap();

// todo: ensure we are running as root (or Administrator on Windows)


Ladataan…
Peruuta
Tallenna