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

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

Created with MrDocs