Add abstracton layer for logger.