log: github.com/apex/log/handlers/logfmt Index | Files

package logfmt

import "github.com/apex/log/handlers/logfmt"

Package logfmt implements a "logfmt" format handler.


Package Files



var Default = New(os.Stderr)

Default handler outputting to stderr.

type Handler Uses

type Handler struct {
    // contains filtered or unexported fields

Handler implementation.

func New Uses

func New(w io.Writer) *Handler

New handler.

func (*Handler) HandleLog Uses

func (h *Handler) HandleLog(e *log.Entry) error

HandleLog implements log.Handler.

Package logfmt imports 5 packages (graph) and is imported by 15 packages. Updated 2016-12-30. Refresh now. Tools for package owners.