This commit is contained in:
Redha Juanda 2021-04-07 21:12:54 +07:00 committed by GitHub
parent f2cc3cf8b7
commit f85e803cc5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -680,7 +680,7 @@ Log a static string, without any context or `printf`-style templating:
## Caveats ## Caveats
Note that zerolog does no de-duplication of fields. Using the same key multiple times creates multiple keys in final JSON: Note that zerolog does not de-duplication of fields. Using the same key multiple times creates multiple keys in final JSON:
```go ```go
logger := zerolog.New(os.Stderr).With().Timestamp().Logger() logger := zerolog.New(os.Stderr).With().Timestamp().Logger()