log: github.com/apex/log/handlers/kinesis Index | Files

package kinesis

import "github.com/apex/log/handlers/kinesis"

Index

Package Files

kinesis.go

type Handler Uses

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

Handler implementation.

func New Uses

func New(stream string) *Handler

New handler sending logs to Kinesis. To configure producer options or pass your own AWS Kinesis client use NewConfig instead.

func NewConfig Uses

func NewConfig(config k.Config) *Handler

NewConfig handler sending logs to Kinesis. The `config` given is passed to the batch Kinesis producer, and a random value is used as the partition key for even distribution.

func (*Handler) HandleLog Uses

func (h *Handler) HandleLog(e *log.Entry) error

HandleLog implements log.Handler.

Package kinesis imports 8 packages (graph). Updated 2016-07-15. Refresh now. Tools for package owners. This is an inactive package (no imports and no commits in at least two years).