public static function text($message, $data = null)
    {
        if (!static::$on) {
            return;
        }

        echo "--------------------------------------------------------------------------------\n";
        static::indent();
        echo static::getTime() . " - " . $message . "\n";
        if (is_array($data)) {
            print_r($data);
        } elseif ($data) {
            static::indent();
            echo "    " . $data . "\n";
        }
    }
public static function text($message, $data = null)
    {
        if (!static::$on) {
            return;
        }

        echo "--------------------------------------------------------------------------------\n";
        static::indent();
        echo static::getTime() . " - " . $message . "\n";
        if (is_array($data)) {
            print_r($data);
        } elseif ($data) {
            static::indent();
            echo "    " . $data . "\n";
        }
    }
public static function text ( $ message , $ data = null ) { if ( ! static :: $ on ) { return ; } echo "--------------------------------------------------------------------------------\n" ; static :: indent ( ) ; echo static :: getTime ( ) . " - " . $ message . "\n" ; if ( is_array ( $ data ) ) { print_r ( $ data ) ; } elseif ( $ data ) { static :: indent ( ) ; echo "    " . $ data . "\n" ; } }
Output a message, in text mode, if we are currently debugging

@param string $message The message to output
@param mixed $data Additional data to output

@return void
Output a message in text mode if we are currently debugging