diff --git a/src/Expose/Log/Mongo.php b/src/Expose/Log/Mongo.php index 9d1a526..c25a1ac 100644 --- a/src/Expose/Log/Mongo.php +++ b/src/Expose/Log/Mongo.php @@ -203,7 +203,7 @@ public function log($level, $message, array $context = array()) $logger = new \Monolog\Logger('audit'); try { $handler = new \Monolog\Handler\MongoDBHandler( - new \Mongo($this->getConnectString()), + new \MongoClient($this->getConnectString()), $this->getDbName(), $this->getDbCollection() );