Made logging a singleton