logrus

package
v0.0.0-...-4da1013 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Formatter

type Formatter struct{}

func (*Formatter) Format

func (s *Formatter) Format(entry *log.Entry) ([]byte, error)

type Logger

type Logger struct {
	Name string
	// contains filtered or unexported fields
}

func NewLogger

func NewLogger() (obj *Logger)

func (*Logger) Debug

func (l *Logger) Debug(a ...interface{})

func (*Logger) Error

func (l *Logger) Error(a ...interface{})

func (*Logger) Fail

func (l *Logger) Fail(a ...interface{})

func (*Logger) Fatal

func (l *Logger) Fatal(a ...interface{})

func (*Logger) GetEntity

func (l *Logger) GetEntity() interface{}

func (*Logger) Info

func (l *Logger) Info(a ...interface{})

func (*Logger) Msg

func (l *Logger) Msg(a ...interface{})

func (*Logger) Ok

func (l *Logger) Ok(a ...interface{})

func (*Logger) UseFileRotation

func (l *Logger) UseFileRotation(path string)

func (*Logger) Warn

func (l *Logger) Warn(a ...interface{})

func (*Logger) With

func (l *Logger) With(m map[string]interface{}) iface.ILogger

Jump to

Keyboard shortcuts

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