logging

package
v0.2.9 Latest Latest
Warning

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

Go to latest
Published: May 5, 2025 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LOG_TIME_FORMAT = time.TimeOnly
	LOG_CALLER_SKIP = 3 // stack frame depth
)

Variables

This section is empty.

Functions

func SetLevel

func SetLevel(level string)

Types

type LineInfoHook

type LineInfoHook struct{}

func (LineInfoHook) Run

func (h LineInfoHook) Run(e *zerolog.Event, l zerolog.Level, msg string)

Jump to

Keyboard shortcuts

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