Made the logger a singleton