Added setLog to Logger.