mozlogrus: Index | Files

package mozlogrus

import ""


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 21 packages. Updated 2017-11-03. Refresh now. Tools for package owners.