Documentation ¶
Index ¶
- type LogrusService
- func (lrs *LogrusService) LogGetWriter() io.Writer
- func (lrs *LogrusService) LogInit(sign string, logFile string, logLevel int, isPrint bool, maxFileSize int, ...) log.ILogService
- func (lrs *LogrusService) LogSetLevel(logLevel int) log.ILogService
- func (lrs *LogrusService) StringLogLevel(level int) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LogrusService ¶
type LogrusService struct {
// contains filtered or unexported fields
}
func NewLogrusService ¶
func NewLogrusService() *LogrusService
func (*LogrusService) LogGetWriter ¶
func (lrs *LogrusService) LogGetWriter() io.Writer
func (*LogrusService) LogInit ¶
func (lrs *LogrusService) LogInit(sign string, logFile string, logLevel int, isPrint bool, maxFileSize int, bakFilePath string, bakFileMaxCount int) log.ILogService
func (*LogrusService) LogSetLevel ¶
func (lrs *LogrusService) LogSetLevel(logLevel int) log.ILogService
func (*LogrusService) StringLogLevel ¶ added in v0.0.6
func (lrs *LogrusService) StringLogLevel(level int) string
Click to show internal directories.
Click to hide internal directories.