Documentation ¶
Index ¶
- type LoggingManager
- func (this *LoggingManager) CreateLogger()
- func (this *LoggingManager) Dumplogs()
- func (this *LoggingManager) Rotation()
- func (this *LoggingManager) SchedualLogit()
- func (this *LoggingManager) StartRecord()
- func (this *LoggingManager) StopRecord()
- func (this *LoggingManager) Writeline(v interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LoggingManager ¶
type LoggingManager struct { LoggingPath string LoggingSize int LoggingTailLabel string LoggingCached []interface{} log.Logger // contains filtered or unexported fields }
func NewLoggingManager ¶
func NewLoggingManager(logPath string) *LoggingManager
func (*LoggingManager) CreateLogger ¶
func (this *LoggingManager) CreateLogger()
func (*LoggingManager) Dumplogs ¶
func (this *LoggingManager) Dumplogs()
func (*LoggingManager) Rotation ¶
func (this *LoggingManager) Rotation()
func (*LoggingManager) SchedualLogit ¶
func (this *LoggingManager) SchedualLogit()
func (*LoggingManager) StartRecord ¶
func (this *LoggingManager) StartRecord()
func (*LoggingManager) StopRecord ¶
func (this *LoggingManager) StopRecord()
Close the filelog handler
func (*LoggingManager) Writeline ¶
func (this *LoggingManager) Writeline(v interface{})
Click to show internal directories.
Click to hide internal directories.