logger

package
v0.0.0-...-0e0034f Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitLogPath

func InitLogPath(path string, files ...string) (err error)

Types

type Logger

type Logger struct {
	Driver contract.LoggerInterface
}

func NewLogger

func NewLogger(driver interface{}, logConf rcconfig.Log) (logger *Logger, err error)

func (*Logger) Debug

func (log *Logger) Debug(msg string, v ...interface{})

func (*Logger) DebugF

func (log *Logger) DebugF(format string, args ...interface{})

func (*Logger) Error

func (log *Logger) Error(msg string, v ...interface{})

func (*Logger) ErrorF

func (log *Logger) ErrorF(format string, args ...interface{})

func (*Logger) Fatal

func (log *Logger) Fatal(msg string, v ...interface{})

func (*Logger) FatalF

func (log *Logger) FatalF(format string, args ...interface{})

func (*Logger) Info

func (log *Logger) Info(msg string, v ...interface{})

func (*Logger) InfoF

func (log *Logger) InfoF(format string, args ...interface{})

func (*Logger) Panic

func (log *Logger) Panic(msg string, v ...interface{})

func (*Logger) PanicF

func (log *Logger) PanicF(format string, args ...interface{})

func (*Logger) Warn

func (log *Logger) Warn(msg string, v ...interface{})

func (*Logger) WarnF

func (log *Logger) WarnF(format string, args ...interface{})

Directories

Path Synopsis
drivers
zap

Jump to

Keyboard shortcuts

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