logger

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CustomFormatter

type CustomFormatter struct {
}

func (*CustomFormatter) Format

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

type LoggerEntry

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

func NewLogger

func NewLogger() *LoggerEntry

func (*LoggerEntry) Debug

func (f *LoggerEntry) Debug(args ...interface{})

func (*LoggerEntry) Debugf

func (f *LoggerEntry) Debugf(format string, args ...interface{})

func (*LoggerEntry) Error

func (f *LoggerEntry) Error(args ...interface{})

func (*LoggerEntry) Errorf

func (f *LoggerEntry) Errorf(format string, args ...interface{})

func (*LoggerEntry) Fatal

func (f *LoggerEntry) Fatal(args ...interface{})

func (*LoggerEntry) Info

func (f *LoggerEntry) Info(args ...interface{})

func (*LoggerEntry) InfoImportant

func (f *LoggerEntry) InfoImportant(args ...interface{})

func (*LoggerEntry) InfoImportantf

func (f *LoggerEntry) InfoImportantf(format string, args ...interface{})

func (*LoggerEntry) InfoNormal

func (f *LoggerEntry) InfoNormal(args ...interface{})

func (*LoggerEntry) InfoNormalf

func (f *LoggerEntry) InfoNormalf(format string, args ...interface{})

func (*LoggerEntry) InfoWarning

func (f *LoggerEntry) InfoWarning(args ...interface{})

func (*LoggerEntry) InfoWarningf

func (f *LoggerEntry) InfoWarningf(format string, args ...interface{})

func (*LoggerEntry) Infof

func (f *LoggerEntry) Infof(format string, args ...interface{})

func (*LoggerEntry) SetData

func (f *LoggerEntry) SetData(key string, value interface{})

func (*LoggerEntry) Trace

func (f *LoggerEntry) Trace(args ...interface{})

func (*LoggerEntry) Tracef

func (f *LoggerEntry) Tracef(format string, args ...interface{})

func (*LoggerEntry) Warn

func (f *LoggerEntry) Warn(args ...interface{})

func (*LoggerEntry) Warnf

func (f *LoggerEntry) Warnf(format string, args ...interface{})

Jump to

Keyboard shortcuts

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