customlogs

package
v1.16.0 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2021 License: AGPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Infer

func Infer(logger *zap.Logger, opts *InferOpts)

Infers a schema given a sample of logs

func Test

func Test(logger *zap.SugaredLogger, opts *TestOpts)

Test validates a log schema against a sample of logs

Types

type InferOpts

type InferOpts struct {
	SkipTest *bool
}

type TestOpts

type TestOpts struct {
	Schema *string
	Output *string
}

Jump to

Keyboard shortcuts

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