Add possibility to check if logging is enabled