Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LabeledLogger ¶
LabeledLogger Will add a label to all messages.
func (LabeledLogger) Printf ¶
func (l LabeledLogger) Printf(format string, v ...interface{})
func (LabeledLogger) Println ¶
func (l LabeledLogger) Println(v ...interface{})
type Logger ¶
type Logger interface {
Println(v ...interface{})
Printf(format string, v ...interface{})
}
Logger is used to log messages to output.
type TimedLogger ¶
TimedLogger will add current time to all messages.
func (TimedLogger) Printf ¶
func (l TimedLogger) Printf(format string, v ...interface{})
func (TimedLogger) Println ¶
func (l TimedLogger) Println(v ...interface{})
Click to show internal directories.
Click to hide internal directories.