Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AsyncWriterConfig ¶
type ClosableWriter ¶
func NewAsyncWriter ¶
func NewAsyncWriter(cfg AsyncWriterConfig) ClosableWriter
type EventWriter ¶
type EventWriter struct {
// contains filtered or unexported fields
}
func NewEventWriter ¶
func NewEventWriter(cfg EventWriterConfig) *EventWriter
func (*EventWriter) HandlerOf ¶
func (sink *EventWriter) HandlerOf(site *spi.LogSite) spi.EventHandler
type EventWriterConfig ¶
type Formatters ¶
type Formatters []Formatter
type JsonFormat ¶
type JsonFormat struct { }
func (*JsonFormat) FormatterOf ¶
func (format *JsonFormat) FormatterOf(site *spi.LogSite) Formatter
Click to show internal directories.
Click to hide internal directories.