beego: github.com/astaxie/beego/core/logs/es Index | Files

package es

import "github.com/astaxie/beego/core/logs/es"

Index

Package Files

es.go index.go

func NewES Uses

func NewES() logs.Logger

NewES returns a LoggerInterface

func SetIndexNaming Uses

func SetIndexNaming(i IndexNaming)

SetIndexNaming will register global IndexNaming

type IndexNaming Uses

type IndexNaming interface {
    IndexName(lm *logs.LogMsg) string
}

IndexNaming generate the index name

type LogDocument Uses

type LogDocument struct {
    Timestamp string `json:"timestamp"`
    Msg       string `json:"msg"`
}

Package es imports 10 packages (graph). Updated 2020-11-07. Refresh now. Tools for package owners.