g_carbLogLevel

Defined in carb/logging/Log.h

int32_t g_carbLogLevel = carb::logging::kLevelWarn

A global weak variable representing the current log level.

Note

This variable is registered by carb::logging::registerLoggingForClient() and is updated whenever the logging level changes.

Warning

If carb::logging::deregisterLoggingForClient() is not called before a module is unloaded, changing the log level can result in a crash since carb::logging::ILogging retains a pointer to this variable.