[ Index ]
 

Code source de vtiger CRM 5.0.2

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/log4php/spi/ -> LoggerLoggingEvent.php (sommaire)

log4php is a PHP port of the log4j java logging package. <p>This framework is based on log4j (see {@link http://jakarta.apache.org/log4j log4j} for details).</p> <p>Design, strategies and part of the methods documentation are developed by log4j team (Ceki Gülcü as log4j project founder and {@link http://jakarta.apache.org/log4j/docs/contributors.html contributors}).</p>

Poids: 384 lignes (12 kb)
Inclus ou requis: 1 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

LoggerLoggingEvent:: (14 méthodes):
  LoggerLoggingEvent()
  getLocationInformation()
  getLevel()
  getLoggerName()
  getMessage()
  getNDC()
  getMDC()
  getRenderedMessage()
  getStartTime()
  getTimeStamp()
  getThreadName()
  getThrowableInformation()
  toString()
  __sleep()


Classe: LoggerLoggingEvent  - X-Ref

The internal representation of logging event.

LoggerLoggingEvent($fqcn, &$logger, $priority, $message, $timeStamp = null)   X-Ref
Instantiate a LoggingEvent from the supplied parameters.

<p>Except {@link $timeStamp} all the other fields of
LoggerLoggingEvent are filled when actually needed.

param: string $fqcn name of the caller class.
param: mixed &$logger The {@link Logger} category of this event or the logger name.
param: LoggerLevel $priority The level of this event.
param: mixed $message The message of this event.
param: integer $timeStamp the timestamp of this logging event.

getLocationInformation()   X-Ref
Set the location information for this logging event. The collected
information is cached for future use.

<p>This method uses {@link PHP_MANUAL#debug_backtrace debug_backtrace()} function (if exists)
to collect informations about caller.</p>
<p>It only recognize informations generated by {@link Logger} and its subclasses.</p>
return: LoggerLocationInfo

getLevel()   X-Ref
Return the level of this event. Use this form instead of directly
accessing the {@link $level} field.

return: LoggerLevel  

getLoggerName()   X-Ref
Return the name of the logger. Use this form instead of directly
accessing the {@link $categoryName} field.

return: string  

getMessage()   X-Ref
Return the message for this logging event.

<p>Before serialization, the returned object is the message
passed by the user to generate the logging event. After
serialization, the returned value equals the String form of the
message possibly after object rendering.
return: mixed

getNDC()   X-Ref
This method returns the NDC for this event. It will return the
correct content even if the event was generated in a different
thread or even on a different machine. The {@link LoggerNDC::get()} method
should <b>never</b> be called directly.

return: string  

getMDC($key)   X-Ref
Returns the the context corresponding to the <code>key</code>
parameter.

return: string

getRenderedMessage()   X-Ref
Render message.

return: string

getStartTime()   X-Ref
Returns the time when the application started, in seconds
elapsed since 01.01.1970 plus microseconds if available.

return: float

getTimeStamp()   X-Ref

return: float

getThreadName()   X-Ref

return: mixed

getThrowableInformation()   X-Ref

return: mixed null

toString()   X-Ref
Serialize this object

return: string

__sleep()   X-Ref
Avoid serialization of the {@link $logger} object




Généré le : Sun Feb 25 10:22:19 2007 par Balluche grâce à PHPXref 0.7