WC_Log_Handler_Email::set_threshold( string $level )
Set handler severity threshold.
Description Description
Parameters Parameters
- $level
-
(Required) emergency|alert|critical|error|warning|notice|info|debug.
Source Source
File: includes/log-handlers/class-wc-log-handler-email.php
public function set_threshold( $level ) { $this->threshold = WC_Log_Levels::get_level_severity( $level ); }