Skip to content

Commit

Permalink
fix compile issues. windows doesn't have syslog
Browse files Browse the repository at this point in the history
  • Loading branch information
aetaric committed Feb 10, 2025
1 parent 104932b commit 1fc476a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions logging/log_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,6 @@ func (logger *Log) FromConfig(conf *koanf.Koanf) {

l.SetOutput(out)

if hook != nil {
l.AddHook(hook)
}

switch config.String("formatter") {
case "default":
l.SetFormatter(&log.TextFormatter{})
Expand Down

0 comments on commit 1fc476a

Please sign in to comment.