Documentation
¶
Index ¶
Constants ¶
View Source
const ( // DatadogUSHost - Host For Datadog US DatadogUSHost = "http-intake.logs.datadoghq.com" // DatadogEUHost - Host For Datadog EU DatadogEUHost = "http-intake.logs.datadoghq.eu" )
Variables ¶
View Source
var ( // Debug - print out debug log if true Debug = false )
Functions ¶
This section is empty.
Types ¶
type Hook ¶
type Hook struct {
// contains filtered or unexported fields
}
Hook is the struct holding connect information to Datadog backend
func NewHook ¶
func NewHook( host string, apiKey string, batchTimeout time.Duration, maxRetry int, minLevel logrus.Level, formatter logrus.Formatter, options Options, ) *Hook
NewHook - create hook with input
Click to show internal directories.
Click to hide internal directories.