Added GetLogger() function.