MongoDB
PHP Manual

MongoDB::setProfilingLevel

(PECL mongo >=0.9.0)

MongoDB::setProfilingLevelSets this database's profiling level

Descrição

public int MongoDB::setProfilingLevel ( int $level )

Parâmetros

level

Profiling level.

Valor Retornado

Returns the previous profiling level.


MongoDB
PHP Manual