BloombergLP::balxml::Encoder_Context::logError

Log an encoding error or warning with the specified text, tag, formattingMode, and optional index.

Synopsis

Declared in <balxml_encoder.h>

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

NameDescription
texterror or warning message text
tagXML tag associated with the message
formattingModeformatting mode in effect
indexoptional array index; -1 if not applicable