RSSCache::error()publicWP 1.0

Method of the class: RSSCache{}

No Hooks.

Return

null. Nothing (null).

Usage

$RSSCache = new RSSCache();
$RSSCache->error ( $errormsg, $lvl );
$errormsg (required)
-
$lvl **
-
Default: E_USER_WARNING

RSSCache::error() code WP 6.5.2

function error ($errormsg, $lvl=E_USER_WARNING) {
	$this->ERROR = $errormsg;
	if ( MAGPIE_DEBUG ) {
		trigger_error( $errormsg, $lvl);
	}
	else {
		error_log( $errormsg, 0);
	}
}