logging

package
v0.5.40 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

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"
)

Jump to

Keyboard shortcuts

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