public function outputWarning($caller, $msg, $shift = 0)
{
// first, let's see if we should log this
$frame = $this->findFrame('warning', $shift);
if ($this->log_output) {
$this->logLine($this->txtLine("warning: {$msg}", $frame), 'warning', 'error');
}
if (!$this->web_output) {
return true;
} else {
echo $this->html_stdout ? $this->htmlLine("{$msg}", $frame, 'warning') : $this->txtLine("{$msg}", $frame, 'warning');
return true;
}
}