Documentation
¶
Index ¶
Constants ¶
View Source
const LogType = "splunk"
LogType is the type name for the splunk logger.
Variables ¶
This section is empty.
Functions ¶
func NewLoggerProducer ¶
func NewLoggerProducer() options.LoggerProducer
SplunkLoggerProducer returns a LoggerProducer backed by SplunkLoggerOptions.
Types ¶
type LoggerOptions ¶
type LoggerOptions struct { Splunk splunk.ConnectionInfo `json:"splunk" bson:"splunk"` Base options.BaseOptions `json:"base" bson:"base"` }
LoggerOptions packages the options for creating a splunk logger.
func (*LoggerOptions) Type ¶
func (*LoggerOptions) Type() string
func (*LoggerOptions) Validate ¶
func (opts *LoggerOptions) Validate() error
Click to show internal directories.
Click to hide internal directories.