logger

package
v0.0.0-...-1ca43b3 Latest Latest
Warning

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

Go to latest
Published: May 22, 2023 License: MIT Imports: 6 Imported by: 3

Documentation

Index

Constants

View Source
const (
	DefaultLogMaxSize  = 512 // DefaultLogMaxSize is the default log max size
	DefaultLogMaxAge   = 7   // DefaultLogMaxAge is the default log max save time
	DefaultBackupCount = 9   // DefaultBackupCount is the default log max backup count
)

Variables

This section is empty.

Functions

func Debug

func Debug(msg string, fields ...zap.Field)

func Error

func Error(msg string, fields ...zap.Field)

func Fatal

func Fatal(msg string, fields ...zap.Field)

func Info

func Info(msg string, fields ...zap.Field)

func InitLogger

func InitLogger(config *config.LogConfig)

func Warn

func Warn(msg string, fields ...zap.Field)

Types

This section is empty.

Jump to

Keyboard shortcuts

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