Location: PHPKode > projects > OpenNitro > trunk/Nitro/DebugFake.inc.php
<?php
//
// +---------------------------------------------------------------------------+
// | Nitro :: DebugFake                                                        |
// +---------------------------------------------------------------------------+
// | Copyright (c) 2003 June Systems BV                                        |
// +---------------------------------------------------------------------------+
// | This source file is copyrighted by June Systems BV, the Netherlands       |
// | If you would like to use this file in your projects, please contact       |
// | hide@address.com                                                     |
// +---------------------------------------------------------------------------+
// | Authors: Siggi Oskarsson <hide@address.com>                          |
// +---------------------------------------------------------------------------+
//
// $Id: DebugFake.inc.php 229 2008-04-17 09:20:31Z oli $
//
// Nitro debug fake class, this class is included if no debugging is used
//

/**
 * This file contains the fake Nitro debug functions and classes
 *
 * This file will be included instead of the normal Debug
 * file if debugging is turned off. Most functions and classes are not defined
 * here and are left intentionally empty! Only the Debug function will pass
 * the called debug messages to the runtime debug funtion.
 *
 * @package	Nitro
 * @subpackage	Debug
 * @author 		Siggi Oskarsson
 * @version 	$Revision: 1.14 $
 * @copyright	2004 June Systems BV
 * @see NitroDebug
 * @see RuntimeDebug()
 */

/**
 * @ignore
 */
function DebugGroup($Class, $Function, $Message, $File = FALSE, $Line = FALSE, $Level = DEBUG_ALL)
{
}
/**
 * @ignore
 */
function Debug($Class, $Function = "", $Message = "", $File = FALSE, $Line = FALSE, $Level = DEBUG_ALL)
{
}
/**
 * @ignore
 */
function DebugCloseGroup($Level = DEBUG_ALL)
{
}

/**
 * @package	Nitro
 * @subpackage	Debug
 * @ignore
 */
class NitroDebug {
	function NitroDebug() {
	}
	
	function AddGroup($Class, $Function, $Message, $File = FALSE, $Line = FALSE, $Level = FALSE) {
	}
	
	function CloseGroup() {
	}
	
	function Add($Class, $Function, $Message, $File = FALSE, $Line = FALSE, $Level = FALSE) {
	}

	function StopDebug() {
	}

	function GetMicroTime(){ 
	}
}
?>
Return current item: OpenNitro