log

package
v0.0.0-...-795d1f5 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2017 License: MIT Imports: 4 Imported by: 10

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	WithError  = Logger.WithError
	WithFields = Logger.WithFields
	WithField  = Logger.WithField
	Debug      = Logger.Debug
	Info       = Logger.Info
	Warn       = Logger.Warn
	Error      = Logger.Error
	Fatal      = Logger.Fatal
)

Convenience access to the common logging functions.

View Source
var Logger = logrus.New()

Logger is a globally shared logrus instance.

Functions

func InitLoggly

func InitLoggly(key, applicationID string, tags ...string)

InitLoggly will create a loggly hook and register it. It will also register a lifecycle shutdown callback to flush any remaining logs, if you're using the lifecycle package.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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