Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
func (*Logger) Alert ¶
Alert will print message with format and prefix of current date and time in red color.
func (*Logger) Error ¶
Error will print message with format and prefix of current date and time and then exit 1.
func (*Logger) Notice ¶
Notice will print message with format and prefix of current date and time in green color.
Click to show internal directories.
Click to hide internal directories.