mongolog.setmodule(3) php man page | unix.com

Man Page: mongolog.setmodule

Operating Environment: php

Section: 3

MONGOLOG.SETMODULE(3)							 1						     MONGOLOG.SETMODULE(3)

MongoLog::setModule - Sets the module(s) to be logged

SYNOPSIS
publicstatic void MongoLog::setModule (int $module)
DESCRIPTION
This function can be used to set which driver modules should be logged. The MongoLog module constants may be used with bitwise operators to specify multiple modules. <?php // first, specify a logging level MongoLog::setLevel(MongoLog::ALL); // log replica set activity MongoLog::setModule(MongoLog::RS); // log replica sets and connection activity MongoLog::setModule(MongoLog::RS|MongoLog::CON); // log everything except IO activity MongoLog::setModule(MongoLog::ALL & (~MongoLog::IO)); ?> Note that you must also call MongoLog.setLevel(3) to enable logging.
PARAMETERS
o $module - The module(s) you would like to log. PHP Documentation Group MONGOLOG.SETMODULE(3)
Related Man Pages
epylog-modules(5) - debian
eurephia-auth(7) - debian
strace(1m) - hpux
strerr(1m) - hpux
odutil(1) - osx
Similar Topics in the Unix Linux Community
UNIX.COM 2017 Year End Summary
New Code Tags (Syntax Highlighting)
Please Welcome Ravinder Singh to the Moderation Team
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Don Cragun
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Wolf Machowitsch