Documentation ¶
Index ¶
- func SetDebug()
- func SetError()
- func SetOutput(out io.Writer)
- func SetSimpleFormat(trunc bool)
- func WithInfo(ctx context.Context, logger InfoLogger) context.Context
- type InfoLogger
- type Logger
- func (l *Logger) Debugf(msg string, args ...any)
- func (l *Logger) Errorf(msg string, args ...any)
- func (l *Logger) Fatalf(msg string, args ...any)
- func (l *Logger) Fields(kv ...any) *Logger
- func (l *Logger) FieldsMap(kv map[string]any) *Logger
- func (l *Logger) Infof(msg string, args ...any)
- func (l *Logger) InfofCtx(ctx context.Context, msg string, args ...any)
- func (l *Logger) IsDebug() bool
- func (l *Logger) Tracef(msg string, args ...any)
- func (l *Logger) Warnf(msg string, args ...any)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetSimpleFormat ¶
func SetSimpleFormat(trunc bool)
Types ¶
type InfoLogger ¶ added in v0.8.4
Click to show internal directories.
Click to hide internal directories.