mirror of
https://github.com/zaphar/durnitisp.git
synced 2025-07-22 18:19:48 -04:00
logging: include a timestamp with millisecond precision
This commit is contained in:
parent
c4a069f246
commit
91f04b3fe9
@ -125,7 +125,10 @@ fn main() -> anyhow::Result<()> {
|
||||
}
|
||||
|
||||
let level = if DEBUG.flag { 3 } else { 2 };
|
||||
stderrlog::new().verbosity(level).init()?;
|
||||
stderrlog::new()
|
||||
.verbosity(level)
|
||||
.timestamp(stderrlog::Timestamp::Millisecond)
|
||||
.init()?;
|
||||
|
||||
if stun_servers.is_empty() {
|
||||
stun_servers = default_stun_servers;
|
||||
|
Loading…
x
Reference in New Issue
Block a user