Make the logger a class variable.