Versions in this module Expand all Collapse all v0 v0.0.3 Apr 29, 2022 Changes in this version + type Writer struct + func New(dsn string, opts ...WriterOption) (*Writer, error) + func (w *Writer) Close() error + func (w *Writer) Write(data []byte) (int, error) + type WriterOption interface + func WithContext(header string, context map[string]interface{}) WriterOption + func WithDebug() WriterOption + func WithEnvironment(environment string) WriterOption + func WithLevels(levels ...zerolog.Level) WriterOption + func WithRelease(release string) WriterOption + func WithSampleRate(rate float64) WriterOption + func WithServerName(serverName string) WriterOption + func WithTags(tags map[string]string) WriterOption