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
eurephia-auth(7) - debian
sasl_log_t(3sasl) - sunos
log(1) - redhat
net::dns::sec::tools::rolllog(3pm) - debian
log(2) - redhat
Similar Topics in the Unix Linux Community
Simple rules of the UNIX.COM forums:
UNIX.COM 2017 Year End Summary
Please Welcome Don Cragun as Lead Moderator
Denial Of Service Attack Update