public static function trace($str)
    {
        $dbg = debug_backtrace();
        phpCAS :: log($str . ' [' . basename($dbg[0]['file']) . ':' . $dbg[0]['line'] . ']');
    }
public static function trace($str)
    {
        $dbg = debug_backtrace();
        phpCAS :: log($str . ' [' . basename($dbg[0]['file']) . ':' . $dbg[0]['line'] . ']');
    }
public static function trace ( $ str ) { $ dbg = debug_backtrace ( ) ; phpCAS :: log ( $ str . ' [' . basename ( $ dbg [ 0 ] [ 'file' ] ) . ':' . $ dbg [ 0 ] [ 'line' ] . ']' ) ; }
This method is used to log something in debug mode.

@param string $str string to log

@return void
This method is used to log something in debug mode .