logger

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// GeektimeLogFolder ...
	GeektimeLogFolder = "geektime-downloader"
)

Variables

This section is empty.

Functions

func Debug added in v0.7.3

func Debug(args ...interface{})

Debug wrapper logrus log.Debug

func Error added in v0.7.3

func Error(err error, args ...interface{})

Error wrapper logrus log.Error

func Info added in v0.7.3

func Info(args ...interface{})

Info wrapper logrus log.Info

func Trace added in v0.7.3

func Trace(args ...interface{})

Trace wrapper logrus log.Trace

func Warn added in v0.7.3

func Warn(args ...interface{})

Warn wrapper logrus log.Warn

Types

type DiscardLogger

type DiscardLogger struct {
}

DiscardLogger ...

func (DiscardLogger) Debugf

func (DiscardLogger) Debugf(format string, v ...interface{})

Debugf do nothing, just discard resty log

func (DiscardLogger) Errorf

func (DiscardLogger) Errorf(format string, v ...interface{})

Errorf do nothing, just discard resty log

func (DiscardLogger) Warnf

func (DiscardLogger) Warnf(format string, v ...interface{})

Warnf do nothing, just discard resty log

Jump to

Keyboard shortcuts

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