logger

package
v0.0.0-...-6a4bd28 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var LogicalError = zap.String("LogicalError", "true")

Functions

This section is empty.

Types

type Logger

type Logger struct {
	// contains filtered or unexported fields
}

func New

func New(cfg *config.Config, appID string) (*Logger, error)

func (*Logger) GetLevel

func (l *Logger) GetLevel() zapcore.Level

func (*Logger) GetRoot

func (l *Logger) GetRoot() *zap.Logger

func (*Logger) SetLevel

func (l *Logger) SetLevel(lvl zapcore.Level)

Jump to

Keyboard shortcuts

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