Skip to content

Commit

Permalink
docs: add missing info level info to README
Browse files Browse the repository at this point in the history
  • Loading branch information
meowgorithm authored and aymanbagabas committed Mar 2, 2023
1 parent b6dcc9b commit 65ede51
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ Log offers multiple levels to filter your logs on. Available levels are:

```go
log.DebugLevel
log.InfoLevel
log.WarnLevel
log.ErrorLevel
log.FatalLevel
Expand All @@ -122,6 +123,7 @@ Use the corresponding function to log a message:
```go
err := errors.New("Baking error 101")
log.Debug(err)
log.Info(err)
log.Warn(err)
log.Error(err)
log.Fatal(err) // this calls os.Exit(1)
Expand Down

0 comments on commit 65ede51

Please sign in to comment.