logger

package
v0.12.1 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

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

Variables

This section is empty.

Functions

func Error added in v0.7.3

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

Error wrapper logrus log.Error

func Infof added in v0.10.7

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

Infof wrapper logrus log.Infof

func Warnf added in v0.10.7

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

Warnf wrapper logrus log.Warnf

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