Skip to content

Commit

Permalink
Add microseconds to log lines.
Browse files Browse the repository at this point in the history
  • Loading branch information
knadh committed Oct 20, 2024
1 parent 0f785b7 commit 30be235
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ var (
evStream = events.New()
bufLog = buflog.New(5000)
lo = log.New(io.MultiWriter(os.Stdout, bufLog, evStream.ErrWriter()), "",
log.Ldate|log.Ltime|log.Lshortfile)
log.Ldate|log.Ltime|log.Lmicroseconds|log.Lshortfile)

ko = koanf.New(".")
fs stuffbin.FileSystem
Expand Down

0 comments on commit 30be235

Please sign in to comment.