gitlab.com/evatix-go/core@v1.3.55/coreinterface/loggerinf/AttrPersistentLogger.go (about)

     1  package loggerinf
     2  
     3  import (
     4  	"gitlab.com/evatix-go/core/coreinterface/enuminf"
     5  	"gitlab.com/evatix-go/core/coreinterface/pathextendinf"
     6  	"gitlab.com/evatix-go/core/internal/internalinterface"
     7  )
     8  
     9  type AttrPersistentLogger interface {
    10  	internalinterface.IdStringerWithNamer
    11  	LogPathInfo() pathextendinf.PathInfoer
    12  	IsRotating() bool
    13  	IsDbLogger() bool
    14  	IsFileLogger() bool
    15  
    16  	DynamicConfig() interface{}
    17  	ConfigReflectSetTo(toPointer interface{}) error
    18  
    19  	// PersistentLoggerTyper
    20  	//
    21  	//  Which type of persistent logger
    22  	PersistentLoggerTyper() enuminf.BasicEnumer
    23  }