Back to

Package log

Latest Go to latest

The highest tagged major version is .

Published: Nov 5, 2019 | License: Apache-2.0 | Module:


func NewZapLogger

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

func NewZaprLogger

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

type Config

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

func NewDefaultConfig

func NewDefaultConfig() Config

func (*Config) AppendOutput

func (c *Config) AppendOutput(outputPath string)

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier