loger

package
v1.3.8 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2023 License: MIT Imports: 10 Imported by: 2

Documentation

Index

Constants

View Source
const (
	LogLevelAll = iota
	LogLevelTrace
	LogLevelDebug
	LogLevelInfo
	LogLevelWarn
	LogLevelXY
	LogLevelError
	LogLevelFatal
	LogLevelOff
	LogLevelMust
)

Variables

This section is empty.

Functions

func DelLoggerCopy added in v1.3.4

func DelLoggerCopy(id complexRW.RWId)

func SetLogAll

func SetLogAll(a ...any)

func SetLogDebug

func SetLogDebug(a ...any)

func SetLogError

func SetLogError(a ...any)

func SetLogFatal

func SetLogFatal(a ...any)

func SetLogInfo

func SetLogInfo(a ...any)

func SetLogMust

func SetLogMust(a ...any)

func SetLogOff

func SetLogOff(a ...any)

func SetLogTrace

func SetLogTrace(a ...any)

func SetLogWarn

func SetLogWarn(a ...any)

func SetLogXY added in v1.3.5

func SetLogXY(a ...any)

func SetLoggerColor added in v1.3.5

func SetLoggerColor(need bool)

func SetLoggerCopy added in v1.3.4

func SetLoggerCopy(w io.Writer) complexRW.RWId

func SetLoggerLevel

func SetLoggerLevel(l uint8)

func SetLoggerStack

func SetLoggerStack(need bool)

func Sprint

func Sprint(a ...any) string

func SprintColor

func SprintColor(t, f, b int, body ...any) string

func SprintConn

func SprintConn(conn net.Conn, a ...any) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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