cli

package
v0.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 6, 2018 License: MIT Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	// contains filtered or unexported fields
}

func New

func New(w io.Writer, delta bool) *Handler

func (*Handler) Flush

func (h *Handler) Flush()

func (*Handler) HandleLog

func (h *Handler) HandleLog(level log.Level, time time.Time, msg string)

func (*Handler) HandleLogWithFields

func (h *Handler) HandleLogWithFields(level log.Level, time time.Time, msg string, fields log.Fields)

func (*Handler) HandleLogWithSource

func (h *Handler) HandleLogWithSource(level log.Level, time time.Time, msg string, source string)

func (*Handler) HandleLogWithSourceFields

func (h *Handler) HandleLogWithSourceFields(level log.Level, time time.Time, msg string, source string, fields log.Fields)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL