mozlogrus: go.mozilla.org/mozlogrus Index | Files

package mozlogrus

import "go.mozilla.org/mozlogrus"

Index

Package Files

applog.go logrus.go

func Enable Uses

func Enable(loggerName string)

Enable sets stdout with idiotmatic mozlog formatting

func EnableFormatter Uses

func EnableFormatter(m *MozLogFormatter)

EnableFormatter sets stdout logging with a custom MozLogFormatter

type MozLogFormatter Uses

type MozLogFormatter struct {
    LoggerName string
    Type       string
}

func (*MozLogFormatter) Format Uses

func (m *MozLogFormatter) Format(entry *logrus.Entry) ([]byte, error)

Package mozlogrus imports 5 packages (graph) and is imported by 13 packages. Updated 2017-11-03. Refresh now. Tools for package owners.