log

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debug

func Debug(args ...any)

func Debugf

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

func Error

func Error(args ...any)

func Errorf

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

func Fatal

func Fatal(args ...any)

func Fatalf

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

func Flush

func Flush()

func Info

func Info(args ...any)

func Infof

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

func InitLog

func InitLog(logcfg string) error

func InitSLog

func InitSLog(logcfg string) error

func LogDepth

func LogDepth(calldepth int, lv mlog.Level, args ...any)

func LogDepthf

func LogDepthf(calldepth int, lv mlog.Level, format string, args ...any)

func Warn

func Warn(args ...any)

func Warnf

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

Types

type Writer

type Writer log.Logger

func GetWriter

func GetWriter() Writer

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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