omni::structuredlog::getSchemaResultName

Defined in omni/structuredlog/StructuredLogCommon.h

constexpr const char *omni::structuredlog::getSchemaResultName(SchemaResult result)

Retrieves a string containing the name of a SchemaResult value.

Parameters

result[in] The result code to convert to a string.

Returns

The result code’s name as a string if a valid code is passed in.

Returns

“<unknown_result>” if an invalid or unknown result code is passed in.