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
log(10) - redhat
eurephia-auth(7) - debian
mongolog(3) - php
log(2) - redhat
log(5) - redhat
Similar Topics in the Unix Linux Community
Simple rules of the UNIX.COM forums:
User Guide: Posting in the Emergency Forum
Forum Video Tutorial: How to Use Code Tags
Please Welcome Don Cragun as Lead Moderator
Status of UNIX.COM Forum Transformation