Fix type in README (fix #62)
This commit is contained in:
parent
533ee32d5d
commit
b5207c012d
|
@ -269,7 +269,7 @@ log.Info().
|
||||||
Str("foo", "bar").
|
Str("foo", "bar").
|
||||||
Dict("dict", zerolog.Dict().
|
Dict("dict", zerolog.Dict().
|
||||||
Str("bar", "baz").
|
Str("bar", "baz").
|
||||||
Int("n", 1)
|
Int("n", 1),
|
||||||
).Msg("hello world")
|
).Msg("hello world")
|
||||||
|
|
||||||
// Output: {"level":"info","time":1494567715,"foo":"bar","dict":{"bar":"baz","n":1},"message":"hello world"}
|
// Output: {"level":"info","time":1494567715,"foo":"bar","dict":{"bar":"baz","n":1},"message":"hello world"}
|
||||||
|
|
Loading…
Reference in New Issue