Documentation ¶
Index ¶
- type Logger
- func (log *Logger) Close() error
- func (log *Logger) Debug(msg string, fields ...field.Fields)
- func (log *Logger) DebugWithContext(ctx context.Context, msg string, fields ...field.Fields)
- func (log *Logger) Error(msg string, fields ...field.Fields)
- func (log *Logger) ErrorWithContext(ctx context.Context, msg string, fields ...field.Fields)
- func (log *Logger) Fatal(msg string, fields ...field.Fields)
- func (log *Logger) FatalWithContext(ctx context.Context, msg string, fields ...field.Fields)
- func (log *Logger) Get() any
- func (log *Logger) Info(msg string, fields ...field.Fields)
- func (log *Logger) InfoWithContext(ctx context.Context, msg string, fields ...field.Fields)
- func (log *Logger) Warn(msg string, fields ...field.Fields)
- func (log *Logger) WarnWithContext(ctx context.Context, msg string, fields ...field.Fields)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
func (*Logger) DebugWithContext ¶
func (*Logger) ErrorWithContext ¶
func (*Logger) FatalWithContext ¶
func (*Logger) InfoWithContext ¶
Click to show internal directories.
Click to hide internal directories.