function debug($str, $TYPE = 0, $file = "", $line = 0)
    {
        if ($this->debug)
        {
            echo "<br>[$file:$line:" . ($this->getDiffTime()) . "]$str";
            flush();
            if ($TYPE == 1)
            {
                exit;
            }
        }
    }
function debug($str, $TYPE = 0, $file = "", $line = 0)
    {
        if ($this->debug)
        {
            echo "<br>[$file:$line:" . ($this->getDiffTime()) . "]$str";
            flush();
            if ($TYPE == 1)
            {
                exit;
            }
        }
    }
function debug ( $ str , $ TYPE = 0 , $ file = "" , $ line = 0 ) { if ( $ this -> debug ) { echo "<br>[$file:$line:" . ( $ this -> getDiffTime ( ) ) . "]$str" ; flush ( ) ; if ( $ TYPE == 1 ) { exit ; } } }
Show Debugging information

@param string $str   Debugging message to display
@param int    $TYPE  Type of error (0 - Warning, 1 - Error)
@param string $file
@param int    $line
@return void
Show Debugging information