getModule() публичный статический Метод

This function can be used to see which parts of the driver's functionality are being logged. Use the constants described in the MongoLog section with bitwise operators to check if specific modules are being logged.
public static getModule ( ) : integer
Результат integer Returns the modules currently being logged
Пример #1
0
 public function testModule()
 {
     \MongoLog::setModule(2);
     $this->assertSame(2, \MongoLog::getModule(2));
 }