log

package
v4.2.713+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewZapLogger added in v0.9.1

func NewZapLogger(cfg Config) (*zap.Logger, error)

func NewZaprLogger

func NewZaprLogger(cfg Config) (logr.Logger, error)

Types

type Config

type Config struct {
	OutputLevel string   `mapstructure:"outputLevel"`
	OutputPaths []string `mapstructure:"outputPaths"`
}

func NewDefaultConfig

func NewDefaultConfig() Config

func (*Config) AppendOutput added in v0.2.0

func (c *Config) AppendOutput(outputPath string)

Jump to

Keyboard shortcuts

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