Documentation ¶
Index ¶
Constants ¶
View Source
const (
VERSION = "1.0.0"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ElasticrusHook ¶
type ElasticrusHook struct {
// contains filtered or unexported fields
}
func NewElasticHook ¶
func NewElasticHook(host, port, baseIndex, indexType, timestampFormat string) *ElasticrusHook
func (*ElasticrusHook) Levels ¶
func (hook *ElasticrusHook) Levels() []logrus.Level
Click to show internal directories.
Click to hide internal directories.