configured writeToLog such that if logging has not been started, any log message of WARNING or higher will be printed to the screen.