zaplogger

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	LogLevel        string
	LogFileSizeMega int
	LogFileCount    int
	LogKeepDays     int
	LogEnableFile   bool

	LogFolder        string
	LogBufferEnabled bool
	LogCacheSize     int
	Location         *time.Location // timezone location
)
View Source
var (
	IsDebug bool
)
View Source
var LogPath string
View Source
var LogicTimeout time.Duration = time.Minute * 60

Functions

func Init

func Init() error

func Log

func Log() *zap.SugaredLogger

Types

This section is empty.

Jump to

Keyboard shortcuts

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