Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Log zerolog.Logger
Functions ¶
Types ¶
type LogSender ¶
LogSender is the interface for shipping logs. Avoids import cycle with api package.
type Shipper ¶
type Shipper struct {
// contains filtered or unexported fields
}
Shipper captures log output and ships it to the API in batches.
func NewShipper ¶
NewShipper creates a log shipper that batches and sends logs.
Click to show internal directories.
Click to hide internal directories.