log

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrLogIsNotDir = errors.New("log is not a directory")
)

Functions

func Init

func Init(c *Config.Config)

func NewLog

func NewLog(module string) *logging.Logger

func NewLogMiddleware

func NewLogMiddleware(config *Config.Config) gin.HandlerFunc

func SetLevel

func SetLevel(level string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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