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
pppoerd(1m) - hpux
mongolog(3) - php
mojo::log(3pm) - debian
net::dns::sec::tools::rolllog(3pm) - debian
Similar Topics in the Unix Linux Community
User Guide: Posting in the Emergency Forum
Rules for Homework &amp; Coursework Questions Forum
UNIX.COM 2017 Year End Summary
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Wolf Machowitsch
Denial Of Service Attack Update