Documentation ¶
Index ¶
- func Debug(ctx context.Context, msg string, kv ...interface{})
- func Error(ctx context.Context, msg string, kv ...interface{})
- func Fatal(ctx context.Context, msg string, kv ...interface{})
- func Info(ctx context.Context, msg string, kv ...interface{})
- func InitDevLogger()
- func InitPrdLogger()
- func Warn(ctx context.Context, msg string, kv ...interface{})
- type LogBasicInfo
- type Pure
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitDevLogger ¶ added in v0.0.2
func InitDevLogger()
func InitPrdLogger ¶ added in v0.0.2
func InitPrdLogger()
Types ¶
type LogBasicInfo ¶
type Pure ¶ added in v0.0.3
type Pure struct{}
用于打印不含上下文信息的,纯日志 因为统一跳过1层调用堆栈信息,所以也必须都包装一层
Click to show internal directories.
Click to hide internal directories.