src/Monolog/Formatter/GrabyFormatter.php
private function addRowWithLevel($level, $th, $td = ' ', $escapeTd = true)
    {
        $th = htmlspecialchars($th, ENT_NOQUOTES, 'UTF-8');
        if ($escapeTd) {
            $td = '<pre>' . htmlspecialchars($td, ENT_NOQUOTES, 'UTF-8') . '</pre>';
        }

        return "<tr style=\"padding: 4px;spacing: 0;text-align: left;\">\n<th style=\"background:" . $this->logLevels[$level] . "\" width=\"100px\">$th:</th>\n<td style=\"padding: 4px;spacing: 0;text-align: left;background: #eeeeee\">" . $td . "</td>\n</tr>";
    }
private function addRowWithLevel($level, $th, $td = ' ', $escapeTd = true)
    {
        $th = htmlspecialchars($th, ENT_NOQUOTES, 'UTF-8');
        if ($escapeTd) {
            $td = '<pre>' . htmlspecialchars($td, ENT_NOQUOTES, 'UTF-8') . '</pre>';
        }

        return "<tr style=\"padding: 4px;spacing: 0;text-align: left;\">\n<th style=\"background:" . $this->logLevels[$level] . "\" width=\"100px\">$th:</th>\n<td style=\"padding: 4px;spacing: 0;text-align: left;background: #eeeeee\">" . $td . "</td>\n</tr>";
    }
private function addRowWithLevel ( $ level , $ th , $ td = ' ' , $ escapeTd = true ) { $ th = htmlspecialchars ( $ th , ENT_NOQUOTES , 'UTF-8' ) ; if ( $ escapeTd ) { $ td = '<pre>' . htmlspecialchars ( $ td , ENT_NOQUOTES , 'UTF-8' ) . '</pre>' ; } return "<tr style=\"padding: 4px;spacing: 0;text-align: left;\">\n<th style=\"background:" . $ this -> logLevels [ $ level ] . "\" width=\"100px\">$th:</th>\n<td style=\"padding: 4px;spacing: 0;text-align: left;background: #eeeeee\">" . $ td . "</td>\n</tr>" ; }
Creates an HTML table row with background cellon title cell.

@param int    $level    Error level
@param string $th       Row header content
@param string $td       Row standard cell content
@param bool   $escapeTd false if td content must not be html escaped

@return string
Creates an HTML table row with background cellon title cell .