logging

package
v0.0.0-...-470703e Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewScrubbingIoWriter

func NewScrubbingIoWriter(writer io.Writer, scrubDict ScrubbingDict) io.Writer

func NewScrubbingWriter

func NewScrubbingWriter(writer zerolog.LevelWriter, scrubDict ScrubbingDict) zerolog.LevelWriter

Types

type ScrubbingDict

type ScrubbingDict map[string]scrubStruct

func GetScrubDictFromConfig

func GetScrubDictFromConfig(config configuration.Configuration) ScrubbingDict

type ScrubbingLogWriter

type ScrubbingLogWriter interface {
	AddTerm(term string, matchGroup int)
	RemoveTerm(term string)
}

Jump to

Keyboard shortcuts

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