mirror of
https://codeberg.org/pluja/kycnot.me
synced 2024-10-01 01:05:59 -04:00
log to stdout
This commit is contained in:
parent
0229c499e5
commit
eb5e9b0ceb
@ -36,7 +36,7 @@ func init() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Flags
|
// Flags
|
||||||
log.Logger = log.Output(zerolog.ConsoleWriter{Out: os.Stderr})
|
log.Logger = log.Output(zerolog.ConsoleWriter{Out: os.Stdout})
|
||||||
zerolog.SetGlobalLevel(zerolog.InfoLevel)
|
zerolog.SetGlobalLevel(zerolog.InfoLevel)
|
||||||
if *debug {
|
if *debug {
|
||||||
log.Debug().Msg("Debug mode enabled")
|
log.Debug().Msg("Debug mode enabled")
|
||||||
|
Loading…
Reference in New Issue
Block a user