Documentation ¶
Index ¶
- Constants
- func Init()
- type ILog
- type TLog
- func (tl *TLog) Debugf(ctx context.Context, tag string, format string, args ...interface{})
- func (tl *TLog) Errorf(ctx context.Context, tag string, format string, args ...interface{})
- func (tl *TLog) Fatalf(ctx context.Context, tag string, format string, args ...interface{})
- func (tl *TLog) Infof(ctx context.Context, tag string, format string, args ...interface{})
- func (tl *TLog) Warnf(ctx context.Context, tag string, format string, args ...interface{})
Constants ¶
View Source
const DLTagUndefined = " _undef"
DLTagUndefined ...
View Source
const DebugTag = " fdebug"
DebugTag ...
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ILog ¶
type ILog interface { Debugf(ctx context.Context, tag string, format string, args ...interface{}) Infof(ctx context.Context, tag string, format string, args ...interface{}) Warnf(ctx context.Context, tag string, format string, args ...interface{}) Errorf(ctx context.Context, tag string, format string, args ...interface{}) Fatalf(ctx context.Context, tag string, format string, args ...interface{}) }
ILog log interface
var Handler ILog
Handler zapLog
Click to show internal directories.
Click to hide internal directories.