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

Man Page: mongolog.setlevel

Operating Environment: php

Section: 3

MONGOLOG.SETLEVEL(3)							 1						      MONGOLOG.SETLEVEL(3)

MongoLog::setLevel - Sets logging level

SYNOPSIS
publicstatic void MongoLog::setLevel (int $level)
DESCRIPTION
This function can be used to set how verbose logging should be and the types of activities that should be logged. Use the constants described in the MongoLog section with bitwise operators to specify levels. <?php // first, turning on logging for a module MongoLog::setModule(MongoLog::POOL); // log messages of every level MongoLog::setLevel(MongoLog::ALL); // log warnings and info MongoLog::setLevel(MongoLog::WARNING|MongoLog::INFO); // log everything except fine activity MongoLog::setLevel(MongoLog::ALL & (~MongoLog::FINE)); ?> Note that you must also call MongoLog.setModule(3) to choose what part of the driver to log.
PARAMETERS
o $level - The levels you would like to log. PHP Documentation Group MONGOLOG.SETLEVEL(3)
Related Man Pages
sasl_log_t(3sasl) - opensolaris
log(n) - redhat
eurephia-auth(7) - debian
pppoerd(1m) - hpux
log(1) - redhat
Similar Topics in the Unix Linux Community
Rules for Homework &amp; Coursework Questions Forum
Coming Soon: Upgrade Forum Software (Dec 31 - Jan 1)
New Code Tags (Syntax Highlighting)
Status of UNIX.COM Forum Transformation
Please Welcome Nicki Paul to the Moderator Team!