logger

package
v0.3.0-alpha Latest Latest
Warning

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

Go to latest
Published: May 12, 2023 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 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