|
The MongoLog class(Информация о версии неизвестна, возможно, только в SVN) ВведениеLogging can be used to get detailed information about what the driver is doing. With PHP-CLI, log output will be printed to stderr. Under an app server, log messages will generally be printed to an error log. Logging is turned off, by default. This class allows you to turn on specific levels of logging for specific parts of the driver. Some examples:
<?php Обзор классов
MongoLog
{
/* Константы */
level constants {
module constants {
/* Fields */
public
int
$MongoLog->level
;
public
int
$module
;
/* Методы */
}Предопределенные константыMongoLog ConstantsThese constants can be used by both MongoLog::setLevel() and MongoLog::setModule().
MongoLog Level ConstantsThese constants can be used by MongoLog::setLevel().
MongoLog Module ConstantsThese constants can be used by MongoLog::setModule().
Содержание
|
|