Documentation ¶
Index ¶
- func BreakSignal() (sc chan os.Signal)
- func ConvBtoI(b []byte) int
- func PrintError(message string, err error) (errored bool)
- func Rand(max int) (result int)
- func RegMatch(text string, check string) (match bool)
- func RegReplace(fromText string, toText string, check string) (replaced string)
- func ResetPrintBackColor()
- func ResetPrintWordColor()
- func SetPrintBackColor(r int, g int, b int)
- func SetPrintWordColor(r int, g int, b int)
- func StrCut(text, suffix string, max int) (result string)
- type ExMap
- type LogLevel
- type LoggerHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegReplace ¶
Regexp Replace
Types ¶
type LoggerHandler ¶
type LoggerHandler struct {
Level LogLevel
}
func (*LoggerHandler) Error ¶
func (l *LoggerHandler) Error(arg ...any)
func (*LoggerHandler) Info ¶
func (l *LoggerHandler) Info(arg ...any)
func (*LoggerHandler) Warn ¶
func (l *LoggerHandler) Warn(arg ...any)
Click to show internal directories.
Click to hide internal directories.