WC_Log_Levels::get_all_severity_levels │ public static │ WC 1.0

Get an associative array with numerical severity => level name key/value pairs.

Method of the class: WC_Log_Levels{}

No Hooks.

Returns

string[].

Usage

$result = WC_Log_Levels::get_all_severity_levels();

WC_Log_Levels::get_all_severity_levels() code WC 11.3.0

public static function get_all_severity_levels() {
	return self::$severity_to_level;
}