Documentation ¶ Index ¶ func GetWriter() io.Writer func Init(sign string, logFile string, logLevel int, isPrint bool, maxFileSize int, ...) log.ILogService func LevelString(level int) string func SetLevel(logLevel LogLevel) log.ILogService type LogLevel func (level LogLevel) String() string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func GetWriter ¶ func GetWriter() io.Writer func Init ¶ func Init(sign string, logFile string, logLevel int, isPrint bool, maxFileSize int, bakFilePath string, bakFileMaxCount int) log.ILogService func LevelString ¶ added in v0.0.6 func LevelString(level int) string func SetLevel ¶ added in v0.0.6 func SetLevel(logLevel LogLevel) log.ILogService Types ¶ type LogLevel ¶ added in v0.0.6 type LogLevel int const ( LogLevelError LogLevel = iota + 1 LogLevelWarn LogLevelInfo LogLevelDebug LogLevelTrace ) func (LogLevel) String ¶ added in v0.0.6 func (level LogLevel) String() string Source Files ¶ View all Source files g_log.go Click to show internal directories. Click to hide internal directories.