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

        echo "<hr>";
        echo "<i>";
            static::indent();
            echo "<b>" . static::getTime() . " - " . $message . "</b>";
            if (is_array($data)) {
                Html::print_r($data);
            } elseif ($data) {
                static::indent();
                echo "&nbsp;&nbsp;&nbsp;&nbsp;" . $data . "<br>";
            }
        echo "</i>";
    }
public static function html($message, $data = null)
    {
        if (!static::$on) {
            return;
        }

        echo "<hr>";
        echo "<i>";
            static::indent();
            echo "<b>" . static::getTime() . " - " . $message . "</b>";
            if (is_array($data)) {
                Html::print_r($data);
            } elseif ($data) {
                static::indent();
                echo "&nbsp;&nbsp;&nbsp;&nbsp;" . $data . "<br>";
            }
        echo "</i>";
    }
public static function html ( $ message , $ data = null ) { if ( ! static :: $ on ) { return ; } echo "<hr>" ; echo "<i>" ; static :: indent ( ) ; echo "<b>" . static :: getTime ( ) . " - " . $ message . "</b>" ; if ( is_array ( $ data ) ) { Html :: print_r ( $ data ) ; } elseif ( $ data ) { static :: indent ( ) ; echo "&nbsp;&nbsp;&nbsp;&nbsp;" . $ data . "<br>" ; } echo "</i>" ; }
Output a message, in html 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 html mode if we are currently debugging