logger

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2021 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InternalLogger

func InternalLogger(isDebug bool) *zap.Logger

InternalLogger get logger for internal packages. It is a shortcut for Logger().Named("internal").

func Logger

func Logger(isDebug bool) *zap.Logger

Logger copy known loggers to use in kactus logging.

func Set

func Set(logger *zap.Logger)

Set sets kactus logger using provided zap instance. Kactus expect provided logger to be on DEBUG Level.

func SetDefault

func SetDefault() (err error)

SetDefault sets kactus logger to default values.

Types

This section is empty.

Jump to

Keyboard shortcuts

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