public function getHtmlListItem($message, $type = null)
    {
        switch ($type) {
            case 'Error':
                $color = '#FF3300';
                $text = '&nbsp;KO&nbsp;';

                break;
            case 'Warning':
                $color = '#FF9933';
                $text = '&nbsp;WAR&nbsp;';

                break;
            default:
                $color = '#006600';
                $text = '&nbsp;OK&nbsp;';

                break;
        }

        return '[<font color="'.$color.'">'.$text.'</font>]&nbsp;&nbsp;&nbsp;'.$message.PHP_EOL.'</br>';
    }
public function getHtmlListItem($message, $type = null)
    {
        switch ($type) {
            case 'Error':
                $color = '#FF3300';
                $text = '&nbsp;KO&nbsp;';

                break;
            case 'Warning':
                $color = '#FF9933';
                $text = '&nbsp;WAR&nbsp;';

                break;
            default:
                $color = '#006600';
                $text = '&nbsp;OK&nbsp;';

                break;
        }

        return '[<font color="'.$color.'">'.$text.'</font>]&nbsp;&nbsp;&nbsp;'.$message.PHP_EOL.'</br>';
    }
public function getHtmlListItem ( $ message , $ type = null ) { switch ( $ type ) { case 'Error' : $ color = '#FF3300' ; $ text = '&nbsp;KO&nbsp;' ; break ; case 'Warning' : $ color = '#FF9933' ; $ text = '&nbsp;WAR&nbsp;' ; break ; default : $ color = '#006600' ; $ text = '&nbsp;OK&nbsp;' ; break ; } return '[<font color="' . $ color . '">' . $ text . '</font>]&nbsp;&nbsp;&nbsp;' . $ message . PHP_EOL . '</br>' ; }
Return WebServer Log Item in Html Checklist format

@param string $message Log message
@param string $type    Message Type

@return string
Return WebServer Log Item in Html Checklist format