Documentation
¶
Index ¶
Constants ¶
View Source
const FormatLogfmtX log.AllowedFormat = "logfmtx"
Variables ¶
View Source
var RawKeyName = rawKeyName("raw")
View Source
var TopicKey = &topicKey{}
Functions ¶
func NewLogfmtXLogger ¶ added in v1.9.0
NewLogfmtXLogger returns a logger that encodes keyvals to the Writer in logfmt format. Each log event produces no more than one call to w.Write. The passed Writer must be safe for concurrent use by multiple goroutines if the returned Logger will be used concurrently.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.