Skip to content
This repository has been archived by the owner on Apr 24, 2023. It is now read-only.

Commit

Permalink
Removed capitalisation of error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
Taliesin Millhouse committed Jun 15, 2020
1 parent 3e3f43a commit 8e6da8f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ var Log Logger
// Info calls Info for the initialized Logger.
func Info(fields Fields) error {
if Log == nil {
return errors.New("Log is nil, make sure to initialize the Logger")
return errors.New("log is nil, make sure to initialize the Logger")
}

return Log.Info(fields)
Expand All @@ -18,7 +18,7 @@ func Info(fields Fields) error {
// Error calls Error for the initialized Logger.
func Error(fields Fields) error {
if Log == nil {
return errors.New("Log is nil, make sure to initialize the Logger")
return errors.New("log is nil, make sure to initialize the Logger")
}

return Log.Error(fields)
Expand All @@ -27,7 +27,7 @@ func Error(fields Fields) error {
// Debug calls Debug for the initialized Logger.
func Debug(fields Fields) error {
if Log == nil {
return errors.New("Log is nil, make sure to initialize the Logger")
return errors.New("log is nil, make sure to initialize the Logger")
}

return Log.Debug(fields)
Expand Down

0 comments on commit 8e6da8f

Please sign in to comment.