//
pkg.gl
Category
github.com/quay/claircore/toolkit
events
package
1.2.4
Repository:
https://github.com/quay/claircore.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
6
Dependents
0
Files
137 SLOC
#
Functions
FromContext
FromContext returns a Log implementation grouping messages under the provided topic.
NewGroup
NewGroup creates a new Group "name" writing to Sink "sink".
WithGroup
WithGroup returns a Context with the provided Group embedded.
#
Structs
Event
Event is the event information delivered to a Sink.
Group
Group is a grouping of log events going to a common Sink.
#
Interfaces
Log
Log is the facade that "user" code should expect.
Sink
Sink is the interface that event sinks must implement.