MongoDB
PHP Manual

MongoDB::setProfilingLevel

(PECL mongo >=0.9.0)

MongoDB::setProfilingLevelSets this database's profiling level

Description

public int MongoDB::setProfilingLevel ( int $level )

Parameters

level

Profiling level.

Return Values

Returns the previous profiling level.


MongoDB
PHP Manual