Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CustomLogger ¶
type CustomLogger struct {
// contains filtered or unexported fields
}
func NewCustomLogger ¶
func NewCustomLogger( agentCtx *agent.GenericContext, logDir string, maxSizeMB, maxAge, maxBackups, bufferSize int, ) *CustomLogger
NewCustomLogger creates a custom logger that can either be asynchronous or synchronous, depending on configuration.
func (*CustomLogger) Shutdown ¶
func (a *CustomLogger) Shutdown()
type SeverityName ¶
type SeverityName string
const ( InfoSeverity SeverityName = "INFO" WarningSeverity SeverityName = "WARNING" ErrorSeverity SeverityName = "ERROR" FatalSeverity SeverityName = "FATAL" )
Click to show internal directories.
Click to hide internal directories.