Skip to content
This repository has been archived by the owner on Dec 19, 2023. It is now read-only.

Latest commit

 

History

History
25 lines (17 loc) · 1.09 KB

README.md

File metadata and controls

25 lines (17 loc) · 1.09 KB

cloudwatch

Godoc CircleCI Go Report Card codecov

This is a fork of this library which allows treating CloudWatch Log streams as io.WriterClosers and io.Readers.

Usage

session := session.Must(session.NewSession(nil))
group := NewGroup(cloudwatchlogs.New(session), "groupName")
w, err := group.Create("streamName")

io.WriteString(w, "Hello World")

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

Dependencies

This library depends on aws-sdk-go.