log

package
v0.23.0 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2021 License: Apache-2.0 Imports: 7 Imported by: 49

Documentation

Index

Constants

View Source
const (
	// FormatLegacy saves event in 1-line text format.
	FormatLegacy = "legacy"
	// FormatJson saves event in structured json format.
	FormatJson = "json"

	// PluginName is the name of this plugin, to be used in help and logs.
	PluginName = "log"
)

Variables

View Source
var AllowedFormats = []string{
	FormatLegacy,
	FormatJson,
}

AllowedFormats are the formats known by log backend.

Functions

func NewBackend

func NewBackend(out io.Writer, format string, groupVersion schema.GroupVersion) audit.Backend

Types

This section is empty.

Jump to

Keyboard shortcuts

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