logger

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const DeveloperLevel zapcore.Level = -2

Variables

This section is empty.

Functions

func CapitalLevel added in v1.4.0

func CapitalLevel(l zapcore.Level) string

func ColorCode added in v1.4.0

func ColorCode(str string, color color.RGBA) string

func ColorToInt added in v1.4.0

func ColorToInt(color color.RGBA) (int, int, int, int)

func CustomEncodeLevel added in v1.4.0

func CustomEncodeLevel(l zapcore.Level, enc zapcore.PrimitiveArrayEncoder)

func Debug

func Debug(data ...any)

func Dev added in v1.2.0

func Dev(data ...any)

func Error

func Error(data ...any)

func Fatal added in v1.1.6

func Fatal(data ...any)

func Format added in v1.4.0

func Format(data ...any) string

func Info

func Info(data ...any)

func Init

func Init(level string)

func Level added in v1.2.2

func Level() string

func LevelString added in v1.4.0

func LevelString(l zapcore.Level) string

func ParseLevel added in v1.4.0

func ParseLevel(s string) zapcore.Level

func Sync

func Sync()

func Warn

func Warn(data ...any)

Types

This section is empty.

Jump to

Keyboard shortcuts

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