pub fn init()
Initializes the logger.
This function should be called before any log macros are used, otherwise nothing will be printed.