Versions in this module Expand all Collapse all v1 v1.1.1 Feb 20, 2024 v1.1.0 Feb 20, 2024 Changes in this version + const LOG_DEPTH_GLOBAL + const LOG_DEPTH_HANDLER + const LOG_LEVEL_DEBUG + const LOG_LEVEL_ERROR + const LOG_LEVEL_FATAL + const LOG_LEVEL_INFO + const LOG_LEVEL_NONE + const LOG_LEVEL_WARN + const LOG_MAX_BUFFER_SIZE + const LOG_MAX_FILE_SIZE + const LOG_MAX_ROTATE_FILE_NUM + const WITH_FILE_LINE + const WITH_NO_FILE_LINE + func Debug(args ...interface{}) + func Debugf(format string, args ...interface{}) + func Error(args ...interface{}) + func Errorf(format string, args ...interface{}) + func Fatal(args ...interface{}) + func Fatalf(format string, args ...interface{}) + func Flush() + func GetFlushTime() int + func GetLogHistory() int + func GetLogLevel() string + func GetLogPath() string + func GetMode() int + func Info(args ...interface{}) + func Infof(format string, args ...interface{}) + func Printf(format string, args ...interface{}) + func Println(args ...interface{}) + func SetLogLevel(level string) + func SetLogPath(logPath string) + func SetLogToStderr(mode bool) + func SetMode(mode int) + func Warn(args ...interface{}) + func Warningf(format string, args ...interface{}) + type EasyFileHandler struct + func NewEasyFileHandler(path string, bufferSize int) *EasyFileHandler + func (efh *EasyFileHandler) Flush() + func (efh *EasyFileHandler) Write(data []byte) (int, error) + type EasyLogHandler interface + Flush func() + type EasyLogger struct + func GetLogger() *EasyLogger + func NewEasyLogger(logLevel string, logToStderr bool, flushTime int, writer EasyLogHandler) *EasyLogger + func (el *EasyLogger) Debug(args ...interface{}) + func (el *EasyLogger) Debugf(format string, args ...interface{}) + func (el *EasyLogger) Error(args ...interface{}) + func (el *EasyLogger) Errorf(format string, args ...interface{}) + func (el *EasyLogger) Fatal(args ...interface{}) + func (el *EasyLogger) Fatalf(format string, args ...interface{}) + func (el *EasyLogger) Flush() + func (el *EasyLogger) GetFlushTime() int + func (el *EasyLogger) GetLogHistory() int + func (el *EasyLogger) GetLogLevel() string + func (el *EasyLogger) GetLogPath() string + func (el *EasyLogger) GetMode() int + func (el *EasyLogger) Info(args ...interface{}) + func (el *EasyLogger) Infof(format string, args ...interface{}) + func (el *EasyLogger) Printf(format string, args ...interface{}) + func (el *EasyLogger) Println(args ...interface{}) + func (el *EasyLogger) SetLogLevel(level string) + func (el *EasyLogger) SetLogPath(logPath string) + func (el *EasyLogger) SetLogToStderr(mode bool) + func (el *EasyLogger) SetMode(mode int) + func (el *EasyLogger) Warn(args ...interface{}) + func (el *EasyLogger) Warnf(format string, args ...interface{})