Help us shape the future of Go! Take the 2026 Go Developer Survey

log

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2026 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddFileOutput

func AddFileOutput(logPath string)

func ColorErrorf

func ColorErrorf(format string, v ...any)

func ColorWarnf

func ColorWarnf(format string, v ...any)

func CreateRollingLogFile

func CreateRollingLogFile(logPath string) io.Writer

func Debug

func Debug(msg string)

func Debugf

func Debugf(format string, v ...any)

func Err

func Err(err error) *zerolog.Event

func Error

func Error(msg string)

func Errorf

func Errorf(format string, v ...any)

func Info

func Info(msg string)

func Infof

func Infof(format string, v ...any)

func Panic

func Panic(msg string)

func Panicf

func Panicf(format string, v ...any)

func Print

func Print(v ...any)

func Printf

func Printf(format string, v ...any)

func Println

func Println(v ...any)

func SetDebugLevel

func SetDebugLevel()

func SetTraceLevel

func SetTraceLevel()

func Trace

func Trace(msg string)

func Tracef

func Tracef(format string, v ...any)

func Warn

func Warn(msg string)

func Warnf

func Warnf(format string, v ...any)

Types

This section is empty.

Jump to

Keyboard shortcuts

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