(PECL mongo >=0.9.0)
MongoDB::getProfilingLevel — Gets this database's profiling level
This function has no parameters.
Returns the profiling level.
MongoDB core docs on » profiling and MongoDB::setProfilingLevel() - Sets this database's profiling level.