Documentation ¶
Overview ¶
Package logger provides a wrapper around log that adds color support with github.com/fatih/color.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Lshortfile ¶
Lshortfile is a re-implemented log.Lshortfile with a modifiable call level.
Types ¶
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
func NewEmptyLogger ¶
func NewEmptyLogger() (l *Logger)
func (*Logger) SetFatalFunc ¶
func (l *Logger) SetFatalFunc(f func(err interface{}))
Click to show internal directories.
Click to hide internal directories.