We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 582007f commit e5edd4bCopy full SHA for e5edd4b
log.go
@@ -24,7 +24,7 @@
24
//
25
// Sub-loggers let you chain loggers with additional context:
26
27
-// sublogger := log.With().Str("component": "foo").Logger()
+// sublogger := log.With().Str("component", "foo").Logger()
28
// sublogger.Info().Msg("hello world")
29
// // Output: {"time":1494567715,"level":"info","message":"hello world","component":"foo"}
30
0 commit comments