formatters

package
v0.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 28, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	LogFile  = NewFileFormatter()
	Terminal = NewTerminalFormatter()
)

Global formatters

Functions

func NewFileFormatter

func NewFileFormatter() logrus.Formatter

NewFileFormatter returns a new Formatter instance for log file.

func NewTerminalFormatter

func NewTerminalFormatter() logrus.Formatter

NewTerminalFormatter returns a new Formatter instance for terminal.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL