logger

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2026 License: Apache-2.0 Imports: 10 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	OFF lvl
)

Variables

View Source
var (
	Global = New("$")
)

Functions

func Debug

func Debug(i ...any)

func Debugf

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

func Error

func Error(i ...any)

func Errorf

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

func Fatal

func Fatal(i ...any)

func Fatalf

func Fatalf(format string, args ...any)

func Info

func Info(i ...any)

func Infof

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

func New

func New(prefix string) (l *logger)

func Panic

func Panic(i ...any)

func Panicf

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

func Print

func Print(i ...any)

func Printf

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

func ScanFailuref

func ScanFailuref(format string, args ...any)

ScanFailuref 扫描过程出现错误,上报消息池

func ScanMessage

func ScanMessage(i ...any)

ScanMessage 扫描信息,上报消息池

func ScanMessagef

func ScanMessagef(format string, args ...any)

ScanMessagef 扫描信息,上报消息池

func ScanSuccess

func ScanSuccess(i ...any)

ScanSuccess 发现问题,上报消息池

func Warn

func Warn(i ...any)

func Warnf

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

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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