Documentation ¶
Index ¶
- func WithColor() func(*Log)
- type Log
- func (log *Log) Debug(ctx context.Context, msg string, args ...any)
- func (log *Log) Error(ctx context.Context, msg string, args ...any)
- func (log *Log) ErrorWithCaller(ctx context.Context, caller int, msg string, args ...any)
- func (log *Log) Info(ctx context.Context, msg string, args ...any)
- func (log *Log) Warn(ctx context.Context, msg string, args ...any)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Log ¶
func (*Log) ErrorWithCaller ¶
ErrorWithCaller lets you define your own custom call stack.
Click to show internal directories.
Click to hide internal directories.