log

package
Version: v0.11.22 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Option added in v0.11.8

type Option func(*OsqueryLogAdapter)

func WithKeyValue added in v0.11.8

func WithKeyValue(key, value string) Option

func WithLevelFunc added in v0.11.8

func WithLevelFunc(lf func(kitlog.Logger) kitlog.Logger) Option

type OsqueryLogAdapter

type OsqueryLogAdapter struct {
	// contains filtered or unexported fields
}

OsqueryLogAdapater creates an io.Writer implementation useful for attaching to the osquery stdout/stderr

func NewOsqueryLogAdapter added in v0.11.8

func NewOsqueryLogAdapter(logger kitlog.Logger, opts ...Option) *OsqueryLogAdapter

func (*OsqueryLogAdapter) Write

func (l *OsqueryLogAdapter) Write(p []byte) (int, error)

Source Files

Directories

Path Synopsis
Package filetee provides a go-kit compatible log mirroring tool.
Package filetee provides a go-kit compatible log mirroring tool.

Jump to

Keyboard shortcuts

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