public function mailLogging($line, $severity)
	{
		if (count($this->mailingList) > 0) {
		    $To = implode(', ', $this->mailingList);

			$Body			= $line;
			$Subject		= "[LOGGING] Severity: $severity";
			$CustomHeaders	= 'MIME-Version: 1.0' . "\r\n";
			$CustomHeaders	.= 'X-Priority: 1 (Highest)' . "\r\n";
			$CustomHeaders	.= 'X-MSMail-Priority: High' . "\r\n";
			$CustomHeaders	.= 'Importance: High' . "\r\n";
			$CustomHeaders 	.= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
			
			@mail($To, $Subject, $Body, $CustomHeaders);
		}
	}
public function mailLogging($line, $severity)
	{
		if (count($this->mailingList) > 0) {
		    $To = implode(', ', $this->mailingList);

			$Body			= $line;
			$Subject		= "[LOGGING] Severity: $severity";
			$CustomHeaders	= 'MIME-Version: 1.0' . "\r\n";
			$CustomHeaders	.= 'X-Priority: 1 (Highest)' . "\r\n";
			$CustomHeaders	.= 'X-MSMail-Priority: High' . "\r\n";
			$CustomHeaders	.= 'Importance: High' . "\r\n";
			$CustomHeaders 	.= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
			
			@mail($To, $Subject, $Body, $CustomHeaders);
		}
	}
public function mailLogging ( $ line , $ severity ) { if ( count ( $ this -> mailingList ) > 0 ) { $ To = implode ( ', ' , $ this -> mailingList ) ; $ Body = $ line ; $ Subject = "[LOGGING] Severity: $severity" ; $ CustomHeaders = 'MIME-Version: 1.0' . "\r\n" ; $ CustomHeaders .= 'X-Priority: 1 (Highest)' . "\r\n" ; $ CustomHeaders .= 'X-MSMail-Priority: High' . "\r\n" ; $ CustomHeaders .= 'Importance: High' . "\r\n" ; $ CustomHeaders .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n" ; @ mail ( $ To , $ Subject , $ Body , $ CustomHeaders ) ; } }
Mails a log line to the receivers to alert them

@param string $line Line to write to the log
@param integer $severity Severity level of log message (use constants)
@return void
Mails a log line to the receivers to alert them