Versions in this module Expand all Collapse all v2 v2.0.4 Sep 1, 2020 Changes in this version + type Config struct + Context map[string]string + Debug bool + Destinations []*LogDestinationConfig + ReportErrors bool + type LogDestinationConfig struct + Destination string + Format string + Level string + Type string + type Reporter struct + func New(config *Config) (*Reporter, error) + func (r *Reporter) Crit(msg string, ctx ...interface{}) + func (r *Reporter) Debug(msg string, ctx ...interface{}) + func (r *Reporter) Error(msg string, ctx ...interface{}) + func (r *Reporter) Handler() log15.Handler + func (r *Reporter) Info(msg string, ctx ...interface{}) + func (r *Reporter) SetHandler(h log15.Handler) + func (r *Reporter) Start(_ context.Context) error + func (r *Reporter) Stop(_ context.Context) error + func (r *Reporter) Warn(msg string, ctx ...interface{})