Documentation
¶
Index ¶
- func Debug(a ...any)
- func Debugf(format string, a ...any)
- func EnableColor(v bool)
- func EnableLogPrint(v bool)
- func Error(a ...any)
- func Errorf(format string, a ...any)
- func Fatal(a ...any)
- func Fatalf(format string, a ...any)
- func FileExists(path string) bool
- func Format(time time.Time, levle LogLevle, message string) string
- func Formatln(time time.Time, levle LogLevle, message string) string
- func Info(a ...any)
- func Infof(format string, a ...any)
- func IntToLevle(i LogLevle) string
- func MaxLogFile(count uint)
- func SBluef(format string, a ...interface{}) string
- func SCyanf(format string, a ...interface{}) string
- func SGreenf(format string, a ...interface{}) string
- func SMagentaf(format string, a ...interface{}) string
- func SRedf(format string, a ...interface{}) string
- func SWhitef(format string, a ...interface{}) string
- func SYellowf(format string, a ...interface{}) string
- func SetLogLevle(levle LogLevle)
- func SetTimeFormate(Formate string)
- func Warning(a ...any)
- func Warningf(format string, a ...any)
- type LogLevle
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnableColor ¶
func EnableColor(v bool)
func EnableLogPrint ¶
func EnableLogPrint(v bool)
func FileExists ¶
func IntToLevle ¶
func MaxLogFile ¶ added in v1.1.1
func MaxLogFile(count uint)
func SetLogLevle ¶
func SetLogLevle(levle LogLevle)
func SetTimeFormate ¶ added in v1.1.0
func SetTimeFormate(Formate string)
Types ¶
Click to show internal directories.
Click to hide internal directories.