Fix type in README (fix #62)

This commit is contained in:
Olivier Poitrey 2018-05-12 22:12:35 -07:00 committed by GitHub
parent 533ee32d5d
commit b5207c012d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -269,7 +269,7 @@ log.Info().
Str("foo", "bar").
Dict("dict", zerolog.Dict().
Str("bar", "baz").
Int("n", 1)
Int("n", 1),
).Msg("hello world")
// Output: {"level":"info","time":1494567715,"foo":"bar","dict":{"bar":"baz","n":1},"message":"hello world"}