log

package
v0.0.0-...-20fd351 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultLog = New()

DefaultLog default log

Functions

func Debugf

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

Debugf debug format

func Errorf

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

Errorf error format

func Fatalf

func Fatalf(format string, args ...interface{})

Fatalf fatal format

func Infof

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

Infof info format

func InitLogger

func InitLogger(w io.Writer)

InitLogger init logger

func New

func New() *logrus.Logger

New new logrus.Logger

func WithFields

func WithFields(fields logrus.Fields) *logrus.Entry

WithFields ...

Types

This section is empty.

Jump to

Keyboard shortcuts

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