Documentation ¶
Index ¶
- type Log
- func (l *Log) Debug(ctx context.Context, s string)
- func (l *Log) DebugO(ctx context.Context, other interface{}, s string)
- func (l *Log) Error(ctx context.Context, s string)
- func (l *Log) ErrorO(ctx context.Context, other interface{}, s string)
- func (l *Log) Fatal(ctx context.Context, s string)
- func (l *Log) FatalO(ctx context.Context, other interface{}, s string)
- func (l *Log) Info(ctx context.Context, s string)
- func (l *Log) InfoO(ctx context.Context, other interface{}, s string)
- func (l *Log) Panic(ctx context.Context, s string)
- func (l *Log) PanicO(ctx context.Context, other interface{}, s string)
- func (l *Log) Warn(ctx context.Context, s string)
- func (l *Log) WarnO(ctx context.Context, other interface{}, s string)
- type Option
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(*Options)
func WithIsStdOut ¶
func WithLogLevel ¶
func WithLogName ¶
func WithLogPath ¶
func WithMaxAge ¶
func WithMaxSize ¶
func WithStacktrace ¶
Click to show internal directories.
Click to hide internal directories.