parent
f85e803cc5
commit
98f889fcde
|
@ -680,7 +680,7 @@ Log a static string, without any context or `printf`-style templating:
|
||||||
|
|
||||||
## Caveats
|
## Caveats
|
||||||
|
|
||||||
Note that zerolog does not de-duplication of fields. Using the same key multiple times creates multiple keys in final JSON:
|
Note that zerolog does no 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()
|
||||||
|
|
Loading…
Reference in New Issue