Skip to content

Commit

Permalink
fix: ETH-1685 simple logrus fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ATMackay committed Apr 3, 2024
1 parent 61a94d8 commit 3010ebc
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions log/logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@ func New(cfg *Config) (*logrus.Logger, error) {
return nil, err
}

return &logrus.Logger{
Formatter: formatter,
Level: level,
}, nil
l := logrus.New()
l.SetFormatter(formatter)
l.SetLevel(level)

return l, nil
}

0 comments on commit 3010ebc

Please sign in to comment.