logs

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2024 License: Apache-2.0 Imports: 9 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

Fatal Fatal消息打印 (程序终止)

func Info

func Info() *zerolog.Event

func Init

func Init(level, pathname string, interval int)

func Panic

func Panic() *zerolog.Event

Panic Panic消息打印 (程序不会终止)

func Warn

func Warn() *zerolog.Event

Types

type Loggerx

type Loggerx struct {
	zerolog.Logger
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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