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.


Top ↑

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 );
	}


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.