log

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2023 License: LGPL-2.1 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debug

func Debug(args ...interface{})

func Error

func Error(args ...interface{})

func GetDBLog

func GetDBLog() *logrus.Logger

func GetDbLogWriter

func GetDbLogWriter() (*rLogs.RotateLogs, error)

func GetLogger

func GetLogger() *logrus.Logger

func Info

func Info(args ...interface{})

func InitLogger

func InitLogger() *logrus.Logger

func ParseLogrusLevelWithString

func ParseLogrusLevelWithString(levelStr string) logrus.Level

func Warn

func Warn(args ...interface{})

Types

type LogWrite

type LogWrite struct {
}

func GetLogWrite

func GetLogWrite() LogWrite

func (LogWrite) Printf

func (LogWrite) Printf(format string, args ...interface{})

type LoggerFormat

type LoggerFormat struct {
}

func (*LoggerFormat) Format

func (f *LoggerFormat) Format(entry *logrus.Entry) ([]byte, error)

Jump to

Keyboard shortcuts

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