Making logger a singleton