logger

package
v0.6.0-beta Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CostLog

func CostLog(logger *zap.SugaredLogger, msg string) func()

func InitLogger

func InitLogger()

func NewFuseLogger

func NewFuseLogger() *log.Logger

func NewLogger

func NewLogger(name string) *zap.SugaredLogger

func SetDebug

func SetDebug(enable bool)

func Sync

func Sync()

Types

type CronLogger

type CronLogger interface {
	Info(msg string, keysAndValues ...interface{})
	Error(err error, msg string, keysAndValues ...interface{})
}

func NewCronLogger

func NewCronLogger() CronLogger

type WebdavLogger

type WebdavLogger struct {
	// contains filtered or unexported fields
}

func InitWebdavLogger

func InitWebdavLogger() *WebdavLogger

func (*WebdavLogger) Handle

func (l *WebdavLogger) Handle(req *http.Request, err error)

Jump to

Keyboard shortcuts

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