levelToString#

Fully qualified name: carb::logging::levelToString

Defined in carb/logging/Log.h

inline carb::cpp::zstring_view carb::logging::levelToString(
int32_t level,
)#

Retrieves the name of a logging level from its value.

Parameters:

level[in] The log level to retrieve the name for.

Returns:

The name of the given log level. Any levels outside of the allowed range will be silently clamped to that range.