Skip to content

Commit 01317f3

Browse files
committed
Removes date and time from log entries
1 parent ce23d84 commit 01317f3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

main.go

+3
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,8 @@ func main() {
2727
return
2828
}
2929

30+
logFlags := log.Flags()
31+
logFlags = logFlags &^ (log.Ldate | log.Ltime)
32+
log.SetFlags(logFlags)
3033
plugin.Serve(opts)
3134
}

0 commit comments

Comments
 (0)