log

package
v0.51.0 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2026 License: MIT Imports: 10 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

func Debug

func Debug() *zerolog.Event

func Error

func Error() *zerolog.Event

func Fatal

func Fatal() *zerolog.Event

func Info

func Info() *zerolog.Event

func NewEventLogWriter added in v0.29.1

func NewEventLogWriter() io.Writer

func OnReportBytes added in v0.12.3

func OnReportBytes(handler func(s string))

func OnReportEvent added in v0.12.3

func OnReportEvent(handler func(e map[string]any))

func Panic

func Panic() *zerolog.Event

func Topic added in v0.12.0

func Topic(topic string) zerolog.Logger

func Warn

func Warn() *zerolog.Event

Types

type EventLogWriter added in v0.29.1

type EventLogWriter struct {
}

func (*EventLogWriter) Write added in v0.29.1

func (w *EventLogWriter) Write(p []byte) (n int, err error)

type UUIDHook added in v0.31.0

type UUIDHook struct {
}

func (UUIDHook) Run added in v0.31.0

func (h UUIDHook) Run(e *zerolog.Event, level zerolog.Level, msg string)

Jump to

Keyboard shortcuts

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