Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // MaxConcurrent is the maximum number of goroutines flushing entries concurrently. // Defaults to 16. MaxConcurrent int `json:"max_concurrent" yaml:"max_concurrent"` }
Config holds the configuration to build a new flusher
type Flusher ¶
type Flusher struct { *zap.SugaredLogger // contains filtered or unexported fields }
Flusher is used to flush entries from a buffer concurrently. It handles max concurrency, retry behavior, and cancellation.
Click to show internal directories.
Click to hide internal directories.