Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InfluxHook ¶
type InfluxHook struct {
// contains filtered or unexported fields
}
func (*InfluxHook) Close ¶
func (h *InfluxHook) Close()
func (*InfluxHook) Levels ¶
func (h *InfluxHook) Levels() []logrus.Level
Levels implementation allows for level logging.
type Option ¶
type Option func(*InfluxHook)
Option configures the Hook
func WithBatchInterval ¶
WithBatchInterval sets the batchInterval
func WithClient ¶
WithClient overwrites the default influx.Client
Click to show internal directories.
Click to hide internal directories.