logger

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 21, 2020 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TimeFormat = "2006-01-02 15:04:05"
	LevelError = "ERROR"
	LevelWarn  = "WARN"
	LevelInfo  = "INFO"
	LevelDebug = "DEBUG"
)

Variables

This section is empty.

Functions

func Debug

func Debug(msg interface{})

Debug debug级别的日志

func Debugf

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

Debugf debug级别的日志

func Error

func Error(msg interface{})

Error error级别的日志

func Errorf

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

Errorf error级别的日志

func Info

func Info(msg interface{})

Info info级别的日志

func Infof

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

Infof info级别的日志

func Warn

func Warn(msg interface{})

Warn warn级别的日志

func Warnf

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

Warnf warn级别的日志

Types

This section is empty.

Jump to

Keyboard shortcuts

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