log

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Logger *zap.Logger

Logger is setup on startup by cmd package.

Functions

func SetLevel

func SetLevel(level string) error

SetLevel updates the level for the global logger config. All child loggers generated with the config are updated.

func SetupLogging

func SetupLogging(logLevel string, encoding string) (*zap.Logger, error)

SetupLogging configure parent logger with logLevel.

Types

This section is empty.

Jump to

Keyboard shortcuts

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