Documentation ¶
Overview ¶
Package logs implements AWS CloudWatchLogs tailing.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logs ¶
type Logs struct { Service cloudwatchlogsiface.CloudWatchLogsAPI Log log.Interface GroupName string FilterPattern string // contains filtered or unexported fields }
Logs implements log tailing for CloudWatchLogs.
func (*Logs) Fetch ¶ added in v0.5.0
func (l *Logs) Fetch() ([]*cloudwatchlogs.FilteredLogEvent, error)
Fetch log events.
func (*Logs) Tail ¶
func (l *Logs) Tail() <-chan *cloudwatchlogs.FilteredLogEvent
Tail logs, make sure to check Err() after the returned channel closes.
Click to show internal directories.
Click to hide internal directories.