plog

package
v3.0.0-beta13 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 20, 2026 License: Apache-2.0 Imports: 7 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

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 Ctx

func Ctx(ctx context.Context) *Logger

func NewDefaultLogger

func NewDefaultLogger() *Logger

func NewLogger

func NewLogger(logger zerolog.Logger) *Logger

func (*Logger) Attr

func (t *Logger) Attr(k string, v any) *Logger

func (*Logger) Debugf

func (t *Logger) Debugf(format string, a ...any)

func (*Logger) Errorf

func (t *Logger) Errorf(format string, a ...any)

func (*Logger) GetLevel

func (t *Logger) GetLevel() zerolog.Level

func (*Logger) Infof

func (t *Logger) Infof(format string, a ...any)

func (*Logger) Level

func (t *Logger) Level(level zerolog.Level) *Logger

func (*Logger) Levelf

func (t *Logger) Levelf(level zerolog.Level, format string, a ...any)

func (*Logger) Logger

func (t *Logger) Logger() zerolog.Logger

func (*Logger) Msgf

func (t *Logger) Msgf(format string, a ...any) string

func (*Logger) Prefix

func (t *Logger) Prefix() string

func (*Logger) Tracef

func (t *Logger) Tracef(format string, a ...any)

func (*Logger) Warnf

func (t *Logger) Warnf(format string, a ...any)

func (*Logger) WithContext

func (t *Logger) WithContext(ctx context.Context) context.Context

func (*Logger) WithPrefix

func (t *Logger) WithPrefix(prefix string) *Logger

func (*Logger) Writer

func (t *Logger) Writer(level zerolog.Level) io.Writer

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL