logs

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2017 License: BSD-2-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RecordTo

func RecordTo(w io.Writer) empire.RunRecorder

RecordTo returns a RunRecorder that writes the log record to the io.Writer

func RecordToCloudWatch

func RecordToCloudWatch(group string, config client.ConfigProvider) empire.RunRecorder

RecordToCloudWatch returns a RunRecorder that writes the log record to CloudWatch Logs.

Types

type KinesisLogsStreamer

type KinesisLogsStreamer struct{}

func NewKinesisLogsStreamer

func NewKinesisLogsStreamer() *KinesisLogsStreamer

func (*KinesisLogsStreamer) StreamLogs

func (s *KinesisLogsStreamer) StreamLogs(app *empire.App, w io.Writer, duration time.Duration) error

Jump to

Keyboard shortcuts

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