logging

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2017 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetLogFormatter

func GetLogFormatter(format string) (logrus.Formatter, error)

GetLogFormatter returns a formatter according to the given format. Supported formats are 'text', 'json', and 'logstash'.

func GetLogger

func GetLogger(module string) *logrus.Entry

GetLogger returns a logger where the module field is set to name

Types

This section is empty.

Jump to

Keyboard shortcuts

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