MongoDB
PHP Manual

MongoDB::setProfilingLevel

(PECL mongo >=0.9.0)

MongoDB::setProfilingLevelSets this database's profiling level

설명

public int MongoDB::setProfilingLevel ( int $level )

인수

level

Profiling level.

반환값

Returns the previous profiling level.


MongoDB
PHP Manual