public function __construct(EntityManager $enm, Writer $logger)
{
$this->evm = $enm->getEventManager();
//Unused, for now
$this->enm = $enm;
$this->logger = $logger;
$this->connection = $enm->getConnection();
$enm->getConnection()->getConfiguration()->setSQLLogger($this);
}