WC_Log_Levels::get_all_level_labels()
Get the UI labels for all log levels.
Method of the class: WC_Log_Levels{}
No Hooks.
Return
String[]
.
Usage
$result = WC_Log_Levels::get_all_level_labels();
WC_Log_Levels::get_all_level_labels() WC Log Levels::get all level labels code WC 9.4.2
public static function get_all_level_labels() { return array( self::EMERGENCY => __( 'Emergency', 'woocommerce' ), self::ALERT => __( 'Alert', 'woocommerce' ), self::CRITICAL => __( 'Critical', 'woocommerce' ), self::ERROR => __( 'Error', 'woocommerce' ), self::WARNING => __( 'Warning', 'woocommerce' ), self::NOTICE => __( 'Notice', 'woocommerce' ), self::INFO => __( 'Info', 'woocommerce' ), self::DEBUG => __( 'Debug', 'woocommerce' ), ); }