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

package level

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

Package level implements a level filter handler.

Index

Package Files

level.go

type Handler Uses

type Handler struct {
    Level   log.Level
    Handler log.Handler
}

Handler implementation.

func New Uses

func New(h log.Handler, level log.Level) *Handler

New handler.

func (*Handler) HandleLog Uses

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

HandleLog implements log.Handler.

Package level imports 1 packages (graph) and is imported by 6 packages. Updated 2016-07-18. Refresh now. Tools for package owners.