/cloudwatch

Treat cloudwatch log streams as io.Reader and io.Writers.

Primary LanguageGoBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

This is a Go library to treat CloudWatch Log streams as io.Writers and io.Readers.

Usage

group := NewGroup("group", cloudwatchlogs.New(defaults.DefaultConfig))
w, err := group.Create("stream")

io.WriteString(w, "Hello World")

r, err := group.Open("stream")
io.Copy(os.Stdout, r)

Dependencies

This library depends on aws-sdk-go.