logs

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: May 9, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const FormatIDAS log.AllowedFormat = "idas"

Variables

View Source
var TitleKey = &titleKey{}

Functions

func NewIdasLogger

func NewIdasLogger(w io.Writer) kitlog.Logger

NewIdasLogger 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

func WrapKeyName

func WrapKeyName(name string) fmt.Stringer

Types

This section is empty.

Jump to

Keyboard shortcuts

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