Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultLogLevel = logrus.InfoLevel
Functions ¶
func Init ¶
Init will initialize the Logrus system, which per default sets up logging to console and to file at the same time. Features are file rotation, fixed colors on Windows etc. Init is a global initialization, since Logrus and the logging systems are also globally available singletons. This global instance of logrus.Logger is returned, so that if needed, it can be still used for dependency injection. Still, using logrus.Info() and other methods directly is not evil.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.