Documentation ¶
Index ¶
- Constants
- func DelLoggerCopy(id complexRW.RWId)
- func SetLogAll(a ...any)
- func SetLogDebug(a ...any)
- func SetLogError(a ...any)
- func SetLogFatal(a ...any)
- func SetLogInfo(a ...any)
- func SetLogMust(a ...any)
- func SetLogOff(a ...any)
- func SetLogTrace(a ...any)
- func SetLogWarn(a ...any)
- func SetLogXY(a ...any)
- func SetLoggerColor(need bool)
- func SetLoggerCopy(w io.Writer) complexRW.RWId
- func SetLoggerLevel(l uint8)
- func SetLoggerStack(need bool)
- func Sprint(a ...any) string
- func SprintColor(t, f, b int, body ...any) string
- func SprintConn(conn net.Conn, a ...any) string
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 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 SetLogTrace ¶
func SetLogTrace(a ...any)
func SetLogWarn ¶
func SetLogWarn(a ...any)
func SetLoggerColor ¶ added in v1.3.5
func SetLoggerColor(need bool)
func SetLoggerLevel ¶
func SetLoggerLevel(l uint8)
func SetLoggerStack ¶
func SetLoggerStack(need bool)
func SprintColor ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.