logs

package
v1.19.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 30, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

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

func NewLogfmtXLogger(w io.Writer) kitlog.Logger

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.

func Relative

func Relative(file string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址