logger

package
v0.0.0-...-f14cedc Latest Latest
Warning

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

Go to latest
Published: May 29, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Debug = std.Debug
	Info  = std.Info
	Warn  = std.Warn
	Error = std.Error
	Fatal = std.Fatal
	Panic = std.Panic

	Print  = std.Debug
	Printf = Debugf
)

alias for zap logger

Functions

func Debugf

func Debugf(s string, args ...interface{})

func Errorf

func Errorf(s string, args ...interface{})

func Fatalf

func Fatalf(s string, args ...interface{})

func Infof

func Infof(s string, args ...interface{})

func InitLogger

func InitLogger(logFileName, logLevel string, fileSize, backups, age int)

func Panicf

func Panicf(s string, args ...interface{})

func Warnf

func Warnf(s string, args ...interface{})

Types

This section is empty.

Jump to

Keyboard shortcuts

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