Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CloudWatchEventer

type CloudWatchEventer struct {
	// contains filtered or unexported fields
}

    CloudWatchEventer logs events to CloudWatch Logs.

    func NewCloudWatchEventer

    func NewCloudWatchEventer(client cloudwatchlogsiface.CloudWatchLogsAPI, group, stream string) *CloudWatchEventer

      NewCloudWatchEventer returns a *CloudWatchLogger. It does create the group or stream until the first event is logged.

      func (*CloudWatchEventer) Close

      func (c *CloudWatchEventer) Close() error

      func (*CloudWatchEventer) Event

      func (c *CloudWatchEventer) Event(typ string, fieldPairs ...interface{})

        Event implements Eventer.

        func (*CloudWatchEventer) Init

        func (c *CloudWatchEventer) Init(ctx context.Context) error

          Init initializes the group and stream used by c. It will only attempt initialization once, subsequently returning the result of that attempt.

          Source Files