Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SimpleFormatter ¶
type SimpleFormatter struct {
EnableDebug bool
}
SimpleFormatter is a simple but beautiful log formatter Usage:
log.SetFormatter(new(SimpleFormatter)) log.SetReportCaller(true) // Must do this, or no caller info.
Click to show internal directories.
Click to hide internal directories.