Versions in this module Expand all Collapse all v1 v1.0.0 Dec 3, 2018 Changes in this version + type Event interface + AddAnnotation func(key, value string) Event + AddContext func(key, value string) Event + SetCorrelationID func(id string) Event + WriteToStderr func() error + func BeaconSingleInfoCount(label string, annotations map[string]string) Event + func NewEvent(label string, severity Severity, metricType MetricType, metricValue float64) Event + type MetricType int + const Count + const Timing + func (m *MetricType) UnmarshalJSON(b []byte) error + func (m MetricType) MarshalJSON() ([]byte, error) + func (m MetricType) String() string + type Severity int + const Debug + const Error + const Info + const Warn + func (s *Severity) UnmarshalJSON(b []byte) error + func (s Severity) MarshalJSON() ([]byte, error) + func (s Severity) String() string