xlogneve

package
v0.0.0-...-85bc940 Latest Latest
Warning

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

Go to latest
Published: May 24, 2022 License: Apache-2.0 Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLoggerProcessor

func NewLoggerProcessor(opts ...Opt) *processor

Types

type FileWriterFactory

type FileWriterFactory func(path string) (io.WriteCloser, error)

type Opt

type Opt func(*processor)

func OptSetFileWriterFactory

func OptSetFileWriterFactory(fac FileWriterFactory) Opt

func OptSetLogFormatter

func OptSetLogFormatter(formatter xlog.Formatter) Opt

func OptSetLogLevel

func OptSetLogLevel(level xlog.Level) Opt

Jump to

Keyboard shortcuts

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