private function modeEcho($msg, $verboseLvl, $insertNewline, $dump, $error)
    {
        if ($this->verbose >= $verboseLvl) {
            if ($dump !== false) {
                echo '<fieldset style="margin-top:10pt;font-family:'.self::FONT_FAMILY.';">'
                    .'<legend style="font-weight:bold;">'.$msg.'</legend>'.cwsDump($dump, false).'</fieldset>';
            } elseif ($error !== false) {
                echo '<span style="font-family:'.self::FONT_FAMILY.';color:#CC0000">ERROR: '.$error.'</span>';
            } elseif (!empty($msg)) {
                echo '<span style="font-family:'.self::FONT_FAMILY.';">'.$msg.'</span>';
            }
            if ($insertNewline) {
                echo "<br />\n";
            }
        }
    }
private function modeEcho($msg, $verboseLvl, $insertNewline, $dump, $error)
    {
        if ($this->verbose >= $verboseLvl) {
            if ($dump !== false) {
                echo '<fieldset style="margin-top:10pt;font-family:'.self::FONT_FAMILY.';">'
                    .'<legend style="font-weight:bold;">'.$msg.'</legend>'.cwsDump($dump, false).'</fieldset>';
            } elseif ($error !== false) {
                echo '<span style="font-family:'.self::FONT_FAMILY.';color:#CC0000">ERROR: '.$error.'</span>';
            } elseif (!empty($msg)) {
                echo '<span style="font-family:'.self::FONT_FAMILY.';">'.$msg.'</span>';
            }
            if ($insertNewline) {
                echo "<br />\n";
            }
        }
    }
private function modeEcho ( $ msg , $ verboseLvl , $ insertNewline , $ dump , $ error ) { if ( $ this -> verbose >= $ verboseLvl ) { if ( $ dump !== false ) { echo '<fieldset style="margin-top:10pt;font-family:' . self :: FONT_FAMILY . ';">' . '<legend style="font-weight:bold;">' . $ msg . '</legend>' . cwsDump ( $ dump , false ) . '</fieldset>' ; } elseif ( $ error !== false ) { echo '<span style="font-family:' . self :: FONT_FAMILY . ';color:#CC0000">ERROR: ' . $ error . '</span>' ; } elseif ( ! empty ( $ msg ) ) { echo '<span style="font-family:' . self :: FONT_FAMILY . ';">' . $ msg . '</span>' ; } if ( $ insertNewline ) { echo "<br />\n" ; } } }
Output a message in stdout.

@param string|array $msg        : the output message.
@param int          $verboseLvl : the output level of this message.
@param bool         $newline    : insert new line or not.
@param bool         $code       : is code or not.
Output a message in stdout .