logging

package
v0.0.0-...-85f0429 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2024 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func Debug

func Debug(args ...interface{})

func Debugf

func Debugf(template string, args ...interface{})

func Error

func Error(args ...interface{})

func Fatal

func Fatal(args ...interface{})

func GetLogErrorPath

func GetLogErrorPath() string

func Info

func Info(args ...interface{})

func Infof

func Infof(template string, args ...interface{})

func InitZapLog

func InitZapLog(debug bool) *zap.Logger

func LoadLogger

func LoadLogger(debug bool) func()

func LogPanic

func LogPanic(details []byte)

func UnexpectedError

func UnexpectedError(err error)

UnexpectedError works like Error function and logs the error details to a specified log file (a new log file is used each time).

func Warn

func Warn(args ...interface{})

Types

This section is empty.

Jump to

Keyboard shortcuts

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