logs

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2016 License: MIT Imports: 4 Imported by: 0

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
	LogGroupName  string
	FilterPattern string
	// contains filtered or unexported fields
}

Logs implements log tailing for CloudWatchLogs.

func (*Logs) Err

func (l *Logs) Err() error

Err returns the first error, if any, during processing.

func (*Logs) Tail

func (l *Logs) Tail() <-chan *cloudwatchlogs.FilteredLogEvent

Tail logs, make sure to check Err() after the returned channel closes.

Jump to

Keyboard shortcuts

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