/** * This function can be used to set how verbose logging should be and the types of * activities that should be logged. Use the constants described in the MongoLog * section with bitwise operators to specify levels. * * @link http://php.net/manual/en/mongolog.setlevel.php * @static * @param int $level The levels you would like to log * @return void */ public static function setLevel($level) { self::$level = $level; }