BloombergLP::baljsn::Encoder::loggedMessages

Return messages logged during the last call to the encode method.

Synopsis

Declared in <baljsn_encoder.h>

bsl::string
loggedMessages() const;

Description

Return a string containing any error, warning, or trace messages that were logged during the last call to the encode method. The log is reset each time encode is called.

Return Value

a string containing any error, warning, or trace messages from the last encode call