Versions in this module Expand all Collapse all v1 v1.0.6 Jan 23, 2025 Changes in this version + func Raw(data []byte) type LogInfo + Raw bool + type LogWriter struct + func (l *LogWriter) Write(p []byte) (n int, err error) v1.0.5 Jan 21, 2025 Changes in this version type Config + FilePath string + FileSizeCut bool + FileTimeCut bool type Logger + LastLogTime time.Time v1.0.4 Nov 21, 2024 Changes in this version + const DEBUG + const ERROR + const INFO + const WARN + func CloseLogger() + func Debug(msg string, param ...any) + func Error(msg string, param ...any) + func Info(msg string, param ...any) + func InitLogger(cfg *Config) + func ParseLevel(level string) int + func Stack() string + func StackAll() string + func Warn(msg string, param ...any) + type Config struct + AppName string + DisableColor bool + EnableFile bool + EnableJson bool + FileMaxSize int32 + Level int + TrackLine bool + TrackThread bool + func GetConfig() *Config + type LogFlag struct + LogJson string + LogLine string + LogTag string + LogThread string + type LogInfo struct + FileName string + FuncName string + GoroutineId string + Level int + Line int + Msg *[]byte + Tag string + ThreadId string + Time time.Time + TrackLine bool + TrackThread bool + type Logger struct + CloseChan chan struct{} + FileTagMap map[string]*os.File + LogInfoChan chan *LogInfo + WriteBuf []byte + WriteCacheNum int32