logger

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

type Logger struct {
	*logrus.Logger
}

func NewFileLogger

func NewFileLogger(level, logFile string) (*Logger, error)

func NewLogger

func NewLogger(level string) *Logger

func (*Logger) WithBackupFile

func (l *Logger) WithBackupFile(fileName string) *logrus.Entry

func (*Logger) WithDatabase

func (l *Logger) WithDatabase(dbName string) *logrus.Entry

func (*Logger) WithError

func (l *Logger) WithError(err error) *logrus.Entry

Jump to

Keyboard shortcuts

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