Back to godoc.org

Package log

v0.9.13
Latest Go to latest

The highest tagged major version is .

Published: Nov 5, 2019 | License: Apache-2.0 | Module: github.com/containers-ai/federatorai-operator

Index

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