Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logy ¶
type Logy interface { SetOutput(io.Writer) SetWriteLevel(int) SetDateFormat(string) SetName(string) Clone() Logy // Debug prints all given string variables. Debug(...string) // Debugf prints all given string variales after formated by first argument. Debugf(string, ...interface{}) // Info prints concated given string informations. Info(...string) // Infof prints concated given string informations after formated by first argument. Infof(string, ...interface{}) Warn(...string) Warnf(string, ...interface{}) // Error put a message to logy, then shutdown the process with exit code 1. Error(...string) // Errorf put a message to logy, then shutdown the process with exit code 1. Errorf(string, ...interface{}) }
Logy is a simple and useful logger package.
Click to show internal directories.
Click to hide internal directories.