Function regorust::regoSetLogLevelFromString

source ·
pub unsafe extern "C" fn regoSetLogLevelFromString(
    level: *const c_char,
) -> 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 strings: “None”, “Error”, “Output”, “Warn”, “Info”, “Debug”, “Trace”. @return REGO_OK if successful, REGO_ERROR_INVALID_LOG_LEVEL otherwise.