30 function Log_null($name, $ident =
'', $conf = array(),
33 $this->_id = md5(microtime());
34 $this->_ident = $ident;
46 $this->_opened =
true;
58 $this->_opened =
false;
74 function log($message, $priority = null)
77 if ($priority === null) {
86 $this->
_announce(array(
'priority' => $priority,
'message' => $message));
_announce($event)
Informs each registered observer instance that a new message has been logged.
UPTO($priority)
Calculate the log mask for all priorities up to the given priority.
close()
Closes the handler.
Log_null($name, $ident='', $conf=array(), $level=PEAR_LOG_DEBUG)
Constructs a new Log_null object.
log($message, $priority=null)
Simply consumes the log event.
_isMasked($priority)
Check if the given priority is included in the current level mask.