Documentation
¶
Index ¶
Constants ¶
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Logger ¶
Logger is our extension of the log15 Logger type
func NewEnvLogger ¶
NewEnvLogger gives a logger using the env var supplied for specifying the loglevel If the envVar contains bogus info, defaults to Info level The env var should be one of debug | info | warn | error | crit
func NewLogger ¶
func NewLogger(args ...interface{}) Logger
NewLogger creates a new logger with the default handlers
func (Logger) ChildLogger ¶
ChildLogger is a method that lets us create child loggers of the same type
func (Logger) Printf ¶
Printf is implemented so that our logger conforms to the GorpLogger interface and can be used for logging queries in that require gorp.DbMap SOURCE: https://godoc.org/github.com/coopernurse/gorp#GorpLogger NOTE: https://github.com/go-gorp/gorp
Click to show internal directories.
Click to hide internal directories.