Documentation ¶
Index ¶
- type Logger
- func (t *Logger) Attr(k string, v any) *Logger
- func (t *Logger) Debugf(format string, a ...any)
- func (t *Logger) Errorf(format string, a ...any)
- func (t *Logger) GetLevel() zerolog.Level
- func (t *Logger) Infof(format string, a ...any)
- func (t *Logger) Levelf(level zerolog.Level, format string, a ...any)
- func (t *Logger) Logger() zerolog.Logger
- func (t *Logger) Msgf(format string, a ...any) string
- func (t *Logger) Prefix() string
- func (t *Logger) Warnf(format string, a ...any)
- func (t *Logger) WithContext(ctx context.Context) context.Context
- func (t *Logger) WithPrefix(prefix string) *Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
func NewDefaultLogger ¶
func NewDefaultLogger() *Logger
func (*Logger) WithPrefix ¶
Click to show internal directories.
Click to hide internal directories.