[#BloombergLP-balxml-Encoder_Context-logError] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balxml.adoc[balxml]::xref:BloombergLP/balxml/Encoder_Context.adoc[Encoder_Context]::logError :relfileprefix: ../../../ :mrdocs: Log an encoding error or warning with the specified `text`, `tag`, `formattingMode`, and optional `index`. == Synopsis Declared in `<balxml_encoder.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/balxml/ErrorInfo/Severity-0f.adoc[ErrorInfo::Severity] logError( char const* text, std::string_view const& tag, int formattingMode, int index = ‐1); ---- == Description Return the severity of the logged message. == Return Value the severity of the logged message == Parameters [cols="1,4"] |=== | Name| Description | *text* | error or warning message text | *tag* | XML tag associated with the message | *formattingMode* | formatting mode in effect | *index* | optional array index; `‐1` if not applicable |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#