Cartflows_Log_Levels::get_level_severity( string $level )

Translate level string to integer.


Parameters

$level

(string) (Required) Log level, options: emergency|alert|critical|error|warning|notice|info|debug.


Return

(int) 100 (debug)

  • 800 (emergency) or 0 if not recognized


Source

File: classes/logger/class-cartflows-log-levels.php