logger

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2015 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 1 more Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LOGLEVEL_ENV_VAR = "ECS_LOGLEVEL"
	LOGFILE_ENV_VAR  = "ECS_LOGFILE"

	DEFAULT_LOGLEVEL = log15.LvlWarn
)

Variables

This section is empty.

Functions

func ForModule

func ForModule(module string) log15.Logger

func SetHandlerChain

func SetHandlerChain()

func SetLevel

func SetLevel(logLevel string)

This package relies on the log15 backend. It is simply a place to centralize instantiations of loggers so they all have the same basic config

Types

This section is empty.

Jump to

Keyboard shortcuts

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