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.
Click to show internal directories.
Click to hide internal directories.