Location: PHPKode > projects > OpenNitro > trunk/Nitro/DebugLevels.inc.php
<?php
//
// +---------------------------------------------------------------------------+
// | Nitro :: RuntimeDebug                                                     |
// +---------------------------------------------------------------------------+
// | Copyright (c) 2003-2006 June Systems BV                                   |
// +---------------------------------------------------------------------------+
// | This library is free software; you can redistribute it and/or modify it   |
// | under the terms of the GNU Lesser General Public License as published by  |
// | the Free Software Foundation; either version 2.1 of the License, or (at   |
// | your option) any later version.                                           |
// |                                                                           |
// | This library is distributed in the hope that it will be useful, but       |
// | WITHOUT ANY WARRANTY; without even the implied warranty of                |
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser   |
// | General Public License for more details.                                  |
// |                                                                           |
// | You should have received a copy of the GNU Lesser General Public License  |
// | along with this library; if not, write to the Free Software Foundation,   |
// | Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA            |
// +---------------------------------------------------------------------------+
// | Authors: Siggi Oskarsson <hide@address.com>                          |
// +---------------------------------------------------------------------------+
//
// $Id: DebugLevels.inc.php 229 2008-04-17 09:20:31Z oli $
//
// Nitro runtime debug class
//

/**
 * This file contains the Debug levels for Nitro
 *
 * @package	Nitro
 * @subpackage	Debug
 * @author 		Siggi Oskarsson
 * @version 	$Revision: 1.4 $
 * @copyright	2004 June Systems BV
 */

/**
 * Define debug levels
 */
define("DEBUG_NONE", 0);
define("DEBUG_SQL_OK", 1);
define("DEBUG_SQL_NOROWS", 2);
define("DEBUG_SQL_ERR", 4);
define("DEBUG_SQL", DEBUG_SQL_OK|DEBUG_SQL_NOROWS|DEBUG_SQL_ERR);
define("DEBUG_SQL_OKV", 131072);
define("DEBUG_SESS_OK", 8);
define("DEBUG_SESS_ERR", 16);
define("DEBUG_SESS", DEBUG_SESS_OK|DEBUG_SESS_ERR);
define("DEBUG_APPL_OK", 32);
define("DEBUG_APPL_WARN", 64);
define("DEBUG_APPL_ERR", 128);
define("DEBUG_APPL", DEBUG_APPL_OK|DEBUG_APPL_WARN|DEBUG_APPL_ERR);
define("DEBUG_MOD_WARN", 256);
define("DEBUG_MOD_OK", 512);
define("DEBUG_MOD_OKV", 1024);
define("DEBUG_MOD_OKVV", 2048);
define("DEBUG_MOD_ERR", 4096);
define("DEBUG_MOD", DEBUG_MOD_OK|DEBUG_MOD_ERR);
define("DEBUG_MOD_ALL", DEBUG_MOD|DEBUG_MOD_OKV|DEBUG_MOD_OKVV|DEBUG_MOD_ERR);
define("DEBUG_WARNINGS", 8192);
define("DEBUG_ERRORS", 16384);
define("DEBUG_FATAL_ERRORS", 32768);
define("DEBUG_WFERR", DEBUG_WARNINGS|DEBUG_ERRORS|DEBUG_FATAL_ERRORS);
define("DEBUG_PHP", 65536);
define("DEBUG_ALL_OK", DEBUG_SQL_OK|DEBUG_SESS_OK|DEBUG_APPL_OK|DEBUG_MOD_OK|DEBUG_MOD_OKV|DEBUG_MOD_OKVV);
define("DEBUG_ALL_WARN", DEBUG_SQL_NOROWS|DEBUG_APPL_WARN|DEBUG_MOD_WARN);
define("DEBUG_ALL_ERR", DEBUG_SQL_ERR|DEBUG_SESS_ERR|DEBUG_APPL_ERR|DEBUG_MOD_ERR);
define("DEBUG_ALL", DEBUG_SQL|DEBUG_SESS|DEBUG_APPL|DEBUG_MOD_ALL|DEBUG_WFERR|DEBUG_PHP);
?>
Return current item: OpenNitro