logger

package
v1.3.0-policy Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultLogger = NewDefaultLogger()

DefaultLogger default log

Functions

func NewDefaultLogger

func NewDefaultLogger() *logrus.Logger

func SetLevel

func SetLevel(level string) error

Types

type Format added in v1.3.0

type Format struct{}

func (*Format) Format added in v1.3.0

func (mf *Format) Format(entry *logrus.Entry) ([]byte, error)

Jump to

Keyboard shortcuts

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