Versions in this module Expand all Collapse all v0 v0.0.1 Jan 14, 2025 Changes in this version + const BitDate + const BitDefault + const BitLevel + const BitLongFile + const BitMicroSeconds + const BitShortFile + const BitStdFlag + const BitTime + const LOG_MAX_BUF + const LogDebug + const LogError + const LogFatal + const LogInfo + const LogPanic + const LogWarn + var StdZinxLog = NewZinxLog("", BitDefault) + func AddFlag(flag int) + func CleanZinxLog(log *ZinxLoggerCore) + func Debug(v ...interface{}) + func Debugf(format string, v ...interface{}) + func Error(v ...interface{}) + func Errorf(format string, v ...interface{}) + func Fatal(v ...interface{}) + func Fatalf(format string, v ...interface{}) + func Flags() int + func Info(v ...interface{}) + func Infof(format string, v ...interface{}) + func Ins() ziface.ILogger + func Panic(v ...interface{}) + func Panicf(format string, v ...interface{}) + func ResetFlags(flag int) + func SetCons(b bool) + func SetLogFile(fileDir string, fileName string) + func SetLogLevel(logLevel int) + func SetLogger(newlog ziface.ILogger) + func SetMaxAge(ma int) + func SetMaxSize(ms int64) + func SetPrefix(prefix string) + func Stack(v ...interface{}) + func Warn(v ...interface{}) + func Warnf(format string, v ...interface{}) + type ZinxLoggerCore struct + func NewZinxLog(prefix string, flag int) *ZinxLoggerCore + func (log *ZinxLoggerCore) AddFlag(flag int) + func (log *ZinxLoggerCore) Debug(v ...interface{}) + func (log *ZinxLoggerCore) Debugf(format string, v ...interface{}) + func (log *ZinxLoggerCore) Error(v ...interface{}) + func (log *ZinxLoggerCore) Errorf(format string, v ...interface{}) + func (log *ZinxLoggerCore) Fatal(v ...interface{}) + func (log *ZinxLoggerCore) Fatalf(format string, v ...interface{}) + func (log *ZinxLoggerCore) Flags() int + func (log *ZinxLoggerCore) Info(v ...interface{}) + func (log *ZinxLoggerCore) Infof(format string, v ...interface{}) + func (log *ZinxLoggerCore) OutPut(level int, s string) error + func (log *ZinxLoggerCore) Panic(v ...interface{}) + func (log *ZinxLoggerCore) Panicf(format string, v ...interface{}) + func (log *ZinxLoggerCore) ResetFlags(flag int) + func (log *ZinxLoggerCore) SetCons(b bool) + func (log *ZinxLoggerCore) SetLogFile(fileDir string, fileName string) + func (log *ZinxLoggerCore) SetLogHook(f func([]byte)) + func (log *ZinxLoggerCore) SetLogLevel(logLevel int) + func (log *ZinxLoggerCore) SetMaxAge(ma int) + func (log *ZinxLoggerCore) SetMaxSize(ms int64) + func (log *ZinxLoggerCore) SetPrefix(prefix string) + func (log *ZinxLoggerCore) Stack(v ...interface{}) + func (log *ZinxLoggerCore) Warn(v ...interface{}) + func (log *ZinxLoggerCore) Warnf(format string, v ...interface{})