vcdeploy  0.55
 All Data Structures Namespaces Files Functions Variables Pages
Public Member Functions | Data Fields
Log_error_log Class Reference
Inheritance diagram for Log_error_log:
Log

Public Member Functions

 Log_error_log ($name, $ident= '', $conf=array(), $level=PEAR_LOG_DEBUG)
 
 open ()
 
 close ()
 
 log ($message, $priority=null)
 
- Public Member Functions inherited from Log
 open ()
 
 close ()
 
 flush ()
 
 log ($message, $priority=null)
 
 emerg ($message)
 
 alert ($message)
 
 crit ($message)
 
 err ($message)
 
 warning ($message)
 
 notice ($message)
 
 info ($message)
 
 debug ($message)
 
 _extractMessage ($message)
 
 _getBacktraceVars ($depth)
 
 setBacktraceDepth ($depth)
 
 _format ($format, $timestamp, $priority, $message)
 
 priorityToString ($priority)
 
 stringToPriority ($name)
 
 setMask ($mask)
 
 getMask ()
 
 _isMasked ($priority)
 
 getPriority ()
 
 setPriority ($priority)
 
 attach (&$observer)
 
 detach ($observer)
 
 _announce ($event)
 
 isComposite ()
 
 setIdent ($ident)
 
 getIdent ()
 

Data Fields

 $_type = PEAR_LOG_TYPE_SYSTEM
 
 $_destination = ''
 
 $_extra_headers = ''
 
 $_lineFormat = '%2$s: %4$s'
 
 $_timeFormat = '%b %d %H:%M:%S'
 
- Data Fields inherited from Log
 $_opened = false
 
 $_id = 0
 
 $_ident = ''
 
 $_priority = PEAR_LOG_INFO
 
 $_mask = PEAR_LOG_ALL
 
 $_listeners = array()
 
 $_backtrace_depth = 0
 
 $_formatMap
 

Additional Inherited Members

- Static Public Member Functions inherited from Log
static factory ($handler, $name= '', $ident= '', $conf=array(), $level=PEAR_LOG_DEBUG)
 
static singleton ($handler, $name= '', $ident= '', $conf=array(), $level=PEAR_LOG_DEBUG)
 
static MASK ($priority)
 
static UPTO ($priority)
 
static MIN ($priority)
 
static MAX ($priority)
 

Member Function Documentation

close ( )

Closes the handler.

public

Since
Log 1.9.6
log (   $message,
  $priority = null 
)

Logs $message using PHP's error_log() function. The message is also passed along to any Log_observer instances that are observing this Log.

Parameters
mixed$messageString or object containing the message to log.
string$priorityThe priority of the message. Valid values are: PEAR_LOG_EMERG, PEAR_LOG_ALERT, PEAR_LOG_CRIT, PEAR_LOG_ERR, PEAR_LOG_WARNING, PEAR_LOG_NOTICE, PEAR_LOG_INFO, and PEAR_LOG_DEBUG.
Returns
boolean True on success or false on failure. public
Log_error_log (   $name,
  $ident = '',
  $conf = array(),
  $level = PEAR_LOG_DEBUG 
)

Constructs a new Log_error_log object.

Parameters
string$nameOne of the PEAR_LOG_TYPE_* constants.
string$identThe identity string.
array$confThe configuration array.
int$levelLog messages up to and including this level. public
open ( )

Opens the handler.

public

Since
Log 1.9.6

The documentation for this class was generated from the following file:
Powered by AlphaNodes GmbH - Imprint