public function htmlLine($msg, $frame = null, $prefix = null)
{
if (!$frame) {
return "<font style='font-family: verdana; font-size:10px'><font color=blue>warning: </font> " . "<font color=red><b>{$msg}</b></font></font><br>";
} else {
$errfile = dirname($frame['file']) . '/<b>' . basename($frame['file']) . '</b>';
return "<font style='font-family: verdana; font-size:10px'><font color=blue>{$errfile}:" . $frame['line'] . '</font> <font color=red>' . ($prefix ? "{$prefix}: " : '') . "<b>{$msg}</b></font></font><br>";
}
}