make loggerMapper a singleton