Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetLoggerManager ¶ added in v1.1.0
func SetLoggerManager(lm LoggerManager)
Types ¶
type Logger ¶
type Logger interface { Trace(objects ...interface{}) TraceF(format string, args ...interface{}) IsTraceEnabled() bool Debug(objects ...interface{}) DebugF(format string, args ...interface{}) IsDebugEnabled() bool Info(objects ...interface{}) InfoF(format string, args ...interface{}) IsInfoEnabled() bool Warn(objects ...interface{}) WarnF(format string, args ...interface{}) IsWarnEnabled() bool Error(objects ...interface{}) ErrorF(format string, args ...interface{}) IsErrorEnabled() bool }
type LoggerManager ¶
func GetLoggerManager ¶ added in v1.1.0
func GetLoggerManager() LoggerManager
func NewLoggerManager ¶
func NewNoFileLoggerManager ¶
func NewNoFileLoggerManager(lv logrus.Level) LoggerManager
Click to show internal directories.
Click to hide internal directories.