1
0
mirror of https://github.com/rs/zerolog synced 2026-06-08 17:13:30 +00:00

Update README.md (#593)

default log level is trace , not debug
This commit is contained in:
赵士杰
2024-03-02 08:30:48 +08:00
committed by GitHub
parent 159cb37bb9
commit dfd022fdfd
+1 -1
View File
@@ -60,7 +60,7 @@ func main() {
// Output: {"time":1516134303,"level":"debug","message":"hello world"}
```
> Note: By default log writes to `os.Stderr`
> Note: The default log level for `log.Print` is *debug*
> Note: The default log level for `log.Print` is *trace*
### Contextual Logging