Documentation ¶
Index ¶
- Constants
- func CtxAddKVs(ctx context.Context, kvs ...any) context.Context
- func CtxDebugKvs(ctx context.Context, msg string, kvs ...any)
- func CtxErrorKvs(ctx context.Context, msg string, kvs ...any)
- func CtxInfoKvs(ctx context.Context, msg string, kvs ...any)
- func CtxPanicKvs(ctx context.Context, msg string, kvs ...any)
- func CtxWarnKvs(ctx context.Context, msg string, kvs ...any)
- func DebugKvs(msg string, kvs ...any)
- func ErrorKvs(msg string, kvs ...any)
- func GetAllKVs(ctx context.Context) []any
- func InfoKvs(msg string, kvs ...any)
- func Init(logMode logMode, logPath string, enableColor bool)
- func PanicKvs(msg string, kvs ...any)
- func Sync()
- func WarnKvs(msg string, kvs ...any)
Constants ¶
View Source
const ( LogModeDevelopment logMode = 1 LogModeProduct logMode = 2 )
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.