Function regorust::regoSetDefaultLogLevel
source ยท pub unsafe extern "C" fn regoSetDefaultLogLevel(
level: regoEnum,
) -> regoEnumExpand description
@brief Sets the default level of logging. @details This setting controls the amount of logging that will be output to stdout. The default level is REGO_LOG_LEVEL_OUTPUT. New interpreters will be set to this level of logging unless overridden by ::regoSetLogLevel. @param level One of the following values: REGO_LOG_LEVEL_NONE, REGO_LOG_LEVEL_ERROR, REGO_LOG_LEVEL_OUTPUT, REGO_LOG_LEVEL_WARN, REGO_LOG_LEVEL_INFO, REGO_LOG_LEVEL_DEBUG, REGO_LOG_LEVEL_TRACE. @return REGO_OK if successful, REGO_ERROR_INVALID_LOG_LEVEL otherwise.