log

package module
v0.0.0-...-5c63008 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const TimeFormatFormat string = "2006-01-02 15:04:05.000 Z0700"

Variables

This section is empty.

Functions

func Clean

func Clean()

func Debug

func Debug(args ...interface{})

func Debugf

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

func Error

func Error(args ...interface{})

func Errorf

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

func Fatal

func Fatal(args ...interface{})

func Fatalf

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

func GetLogger

func GetLogger() *logrus.Entry

func Info

func Info(args ...interface{})

func Infof

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

func Init

func Init(level, appID string, output *os.File) (err error)

func NewLogger

func NewLogger() *logrus.Entry

func Printf

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

func Println

func Println(args ...interface{})

func SetField

func SetField(key string, value interface{})

func Warn

func Warn(args ...interface{})

func Warnf

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

func WithField

func WithField(key string, value interface{}) *logrus.Entry

func WithFields

func WithFields(fields map[string]interface{}) *logrus.Entry

Types

This section is empty.

Jump to

Keyboard shortcuts

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