log

package
v0.37.0 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2024 License: MIT Imports: 8 Imported by: 0

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]interface{}))

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