MongoDB
PHP Manual

MongoDB::setProfilingLevel

(PECL mongo >=0.9.0)

MongoDB::setProfilingLevelSets this database's profiling level

Descripción

public int MongoDB::setProfilingLevel ( int $level )

Parámetros

level

Profiling level.

Valores devueltos

Returns the previous profiling level.


MongoDB
PHP Manual