Documentation
¶
Index ¶
- Constants
- func New(out io.Writer, prefix string, flags int) *log.Logger
- func NewOutput(out io.Writer, prefix string, flags int) io.Writer
- func NewOutputWithLevel(level ecslogs.Level, out io.Writer, prefix string, flags int) io.Writer
- func NewWithLevel(level ecslogs.Level, out io.Writer, prefix string, flags int) *log.Logger
- func NewWriter(prefix string, flags int, handler Handler) io.Writer
- func TimeFormat(flags int) string
- type Entry
- type Handler
- type HandlerFunc
Constants ¶
View Source
const (
DefaultLevel = ecslogs.INFO
)
Variables ¶
This section is empty.
Functions ¶
func NewOutputWithLevel ¶
func NewWithLevel ¶
func TimeFormat ¶
Types ¶
type HandlerFunc ¶
func (HandlerFunc) HandleEntry ¶
func (h HandlerFunc) HandleEntry(entry Entry) error
Click to show internal directories.
Click to hide internal directories.