Skip to content

Commit b4620b0

Browse files
authored
Add all severities to docs
1 parent c16c897 commit b4620b0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

log/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -148,9 +148,9 @@ Values must be strings, numbers, booleans, nil or a slice of these types.
148148

149149
## Log Severity
150150

151-
`log` supports three log severities: `debug`, `info`, and `error`. By default
152-
debug logs are not written to the log output. The following example shows how to
153-
enable debug logging:
151+
`log` supports five log severities: `debug`, `info`, `warn`, `error` and `fatal`.
152+
By default debug logs are not written to the log output. The following example
153+
shows how to enable debug logging:
154154

155155
```go
156156
ctx := log.Context(context.Background())

0 commit comments

Comments
 (0)