 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FormatterOpt ¶
type FormatterOpt func(Formatter)
type Formatterable ¶
type Formatterable struct {
	// contains filtered or unexported fields
}
    func NewFormatterable ¶
func NewFormatterable(formatter Formatter) *Formatterable
func (*Formatterable) Format ¶
func (f *Formatterable) Format(record *Record) string
func (*Formatterable) GetFormatter ¶
func (f *Formatterable) GetFormatter() Formatter
func (*Formatterable) SetFormatter ¶
func (f *Formatterable) SetFormatter(formatter Formatter)
type Handleable ¶
Handleable is a function that can be used as a Handler.
func (Handleable) Handle ¶
func (h Handleable) Handle(record *Record) bool
Handle is a function that can be used as a Handler.
func (Handleable) HandleBatch ¶
func (h Handleable) HandleBatch(records []*Record) bool
HandleBatch is a function that can be used as a Handler.
type HandlerOpt ¶
type HandlerOpt func(Handler)
HandlerOpt is a function that can be used to configure a Handler.
type Logger ¶
type Logger struct {
	logger.Loggerable
	// contains filtered or unexported fields
}
    func (*Logger) Processors ¶
type Opt ¶
type Opt func(*Logger)
func WithChannel ¶
func WithHandler ¶
func WithHandlers ¶
func WithProcessor ¶
func WithProcessors ¶
func WithTimezone ¶
type UnimplementedHandler ¶
type UnimplementedHandler struct {
}
    UnimplementedHandler is a Handler that does nothing.
func (*UnimplementedHandler) Close ¶
func (h *UnimplementedHandler) Close()
func (*UnimplementedHandler) Handle ¶
func (h *UnimplementedHandler) Handle(*Record) bool
func (*UnimplementedHandler) IsHandling ¶
func (h *UnimplementedHandler) IsHandling(*Record) bool
 Click to show internal directories. 
   Click to hide internal directories.