package
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: May 21, 2020
License: BSD-3-Clause
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
View Source
const (
TimeFormat = "2006-01-02 15:04:05"
LevelError = "ERROR"
LevelWarn = "WARN"
LevelInfo = "INFO"
LevelDebug = "DEBUG"
)
func Debug(msg interface{})
Debug debug级别的日志
func Debugf(format string, v ...interface{})
Debugf debug级别的日志
func Error(msg interface{})
Error error级别的日志
func Errorf(format string, v ...interface{})
Errorf error级别的日志
func Info(msg interface{})
Info info级别的日志
func Infof(format string, v ...interface{})
Infof info级别的日志
func Warn(msg interface{})
Warn warn级别的日志
func Warnf(format string, v ...interface{})
Warnf warn级别的日志
Source Files
¶
Click to show internal directories.
Click to hide internal directories.