log

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2023 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 ...interface{})

func Err

func Err(err error) *zerolog.Event

func Error

func Error(msg string)

func Errorf

func Errorf(format string, v ...interface{})

func Info

func Info(msg string)

func Infof

func Infof(format string, v ...interface{})

func Panic

func Panic(msg string)

func Panicf

func Panicf(format string, v ...interface{})

func Print

func Print(v ...interface{})

func Printf

func Printf(format string, v ...interface{})

func Println

func Println(v ...interface{})

func SetDebugLevel

func SetDebugLevel()

func SetTraceLevel

func SetTraceLevel()

func Trace

func Trace(msg string)

func Tracef

func Tracef(format string, v ...interface{})

func Warn

func Warn(msg string)

func Warnf

func Warnf(format string, v ...interface{})

Types

This section is empty.

Jump to

Keyboard shortcuts

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