Add replacable logger.