Back to godoc.org
go.mozilla.org/mozlogrus

Package mozlogrus

v1.0.0
Latest Go to latest

The highest tagged major version is .

Published: Aug 9, 2017 | License: MPL-2.0 | Module: go.mozilla.org/mozlogrus

Index

func Enable

func Enable(loggerName string)

Enable enables mozlogrus

func SetFormatterName

func SetFormatterName(name string)

SetFormatterName the LoggerName for the logrus formatter

type MozLogFormatter

type MozLogFormatter struct {
	LoggerName string
}

func (*MozLogFormatter) Format

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

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier