Function regorust::regoSetLogLevel

source ยท
pub unsafe extern "C" fn regoSetLogLevel(level: regoEnum) -> regoEnum
Expand description

Sets the level of logging.

This setting controls the amount of logging that will be output to stdout. The default level is REGO_LOG_LEVEL_NONE.

@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.