MongoLog::getModule

(PECL mongo >= 1.2.3)

MongoLog::getModule — Gets the module(s) currently being logged

Description

publicstaticintMongoLog::getModule
( void
)

This function can be used to see which driver modules are currently being
logged. The returned integer may be compared with the
MongoLog module constants
using bitwise operators to check if specific modules are being logged.