private function processLeadingIndentationTags ($sMessage)
    {
        $bTagFound = true;
        while ($bTagFound && strlen($sMessage) > 0) {
            if (substr($sMessage, 0, $this->iIndentTagLength) == $this->aConfig['indent_tag']) {
                $this->iIndentationLevel++;
                $sMessage = substr($sMessage, $this->iIndentTagLength);
            } elseif (substr($sMessage, 0, $this->iUnindentTagLength) == $this->aConfig['unindent_tag']) {
                $this->iIndentationLevel = max(0, $this->iIndentationLevel-1);
                $sMessage = substr($sMessage, $this->iUnindentTagLength);
            } else {
                $bTagFound = false;
            }
        }
        return $sMessage;
    }
private function processLeadingIndentationTags ($sMessage)
    {
        $bTagFound = true;
        while ($bTagFound && strlen($sMessage) > 0) {
            if (substr($sMessage, 0, $this->iIndentTagLength) == $this->aConfig['indent_tag']) {
                $this->iIndentationLevel++;
                $sMessage = substr($sMessage, $this->iIndentTagLength);
            } elseif (substr($sMessage, 0, $this->iUnindentTagLength) == $this->aConfig['unindent_tag']) {
                $this->iIndentationLevel = max(0, $this->iIndentationLevel-1);
                $sMessage = substr($sMessage, $this->iUnindentTagLength);
            } else {
                $bTagFound = false;
            }
        }
        return $sMessage;
    }
private function processLeadingIndentationTags ( $ sMessage ) { $ bTagFound = true ; while ( $ bTagFound && strlen ( $ sMessage ) > 0 ) { if ( substr ( $ sMessage , 0 , $ this -> iIndentTagLength ) == $ this -> aConfig [ 'indent_tag' ] ) { $ this -> iIndentationLevel ++ ; $ sMessage = substr ( $ sMessage , $ this -> iIndentTagLength ) ; } elseif ( substr ( $ sMessage , 0 , $ this -> iUnindentTagLength ) == $ this -> aConfig [ 'unindent_tag' ] ) { $ this -> iIndentationLevel = max ( 0 , $ this -> iIndentationLevel - 1 ) ; $ sMessage = substr ( $ sMessage , $ this -> iUnindentTagLength ) ; } else { $ bTagFound = false ; } } return $ sMessage ; }
Update indentation level according to leading indentation tags
and remove them from the returned string.

@param string $sMessage
@return string specified message without any leading indentation tag
@see ColoredIndentedLogger::iIndentationLevel
Update indentation level according to leading indentation tags and remove them from the returned string .