Przeglądaj źródła

add timestamp to logs

master
Jonathan Cobb 4 lat temu
rodzic
commit
03ca1f7bfc
1 zmienionych plików z 1 dodań i 0 usunięć
  1. +1
    -0
      src/main.rs

+ 1
- 0
src/main.rs Wyświetl plik

@@ -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)


Ładowanie…
Anuluj
Zapisz