Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // 日志 Out string `toml:"out"` // # 日志类别: debug, warn, info,error Level string `toml:"level"` }
Config 日志配置
type ILogger ¶
type ILogger interface { Debugc(ctx context.Context, msg string, values ...interface{}) Infoc(ctx context.Context, msg string, values ...interface{}) Warnc(ctx context.Context, msg string, values ...interface{}) Errorc(ctx context.Context, msg string, values ...interface{}) Debug(msg string, values ...interface{}) Info(msg string, values ...interface{}) Warn(msg string, values ...interface{}) Error(msg string, values ...interface{}) }
Click to show internal directories.
Click to hide internal directories.