logger

package
v0.0.0-...-3b0718c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 28, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

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{})

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL