Documentation ¶
Overview ¶
Package xlog contain interface for Logger
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrorInitLogger = xerror.CommonError{ Code: consts.XLogInit, Message: "can't initialize logger", Err: nil, }
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger interface { Debugf(format string, args ...interface{}) Infof(format string, args ...interface{}) Warnf(format string, args ...interface{}) Tracef(format string, args ...interface{}) Errorf(format string, args ...interface{}) Fatalf(format string, args ...interface{}) Debug(msg string) Info(msg string) Warn(msg string) Trace(msg string) Error(msg string) Fatal(msg string) WithXFields(fields Fields) Logger WithXField(key string, value interface{}) Logger }
Logger interface for integration_common
Click to show internal directories.
Click to hide internal directories.