[ Index ] |
|
Code source de vtiger CRM 5.0.2 |
[Code source] [Imprimer] [Statistiques]
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: | 264 lignes (7 kb) |
Inclus ou requis: | 4 fois |
Référencé: | 0 fois |
Nécessite: | 1 fichier log4php/LoggerLog.php |
LoggerLevel:: (14 méthodes):
LoggerLevel()
equals()
getLevelOff()
getLevelFatal()
getLevelError()
getLevelWarn()
getLevelInfo()
getLevelDebug()
getLevelAll()
getSyslogEquivalent()
isGreaterOrEqual()
toString()
toInt()
toLevel()
Classe: LoggerLevel - X-Ref
Defines the minimum set of levels recognized by the system, that isLoggerLevel($level, $levelStr, $syslogEquivalent) X-Ref |
Constructor param: integer $level param: string $levelStr param: integer $syslogEquivalent |
equals($o) X-Ref |
Two priorities are equal if their level fields are equal. param: object $o return: boolean |
getLevelOff() X-Ref |
Returns an Off Level return: LoggerLevel |
getLevelFatal() X-Ref |
Returns a Fatal Level return: LoggerLevel |
getLevelError() X-Ref |
Returns an Error Level return: LoggerLevel |
getLevelWarn() X-Ref |
Returns a Warn Level return: LoggerLevel |
getLevelInfo() X-Ref |
Returns an Info Level return: LoggerLevel |
getLevelDebug() X-Ref |
Returns a Debug Level return: LoggerLevel |
getLevelAll() X-Ref |
Returns an All Level return: LoggerLevel |
getSyslogEquivalent() X-Ref |
Return the syslog equivalent of this priority as an integer. return: integer |
isGreaterOrEqual($r) X-Ref |
Returns <i>true</i> if this level has a higher or equal level than the level passed as argument, <i>false</i> otherwise. <p>You should think twice before overriding the default implementation of <i>isGreaterOrEqual</i> method. param: LoggerLevel $r return: boolean |
toString() X-Ref |
Returns the string representation of this priority. return: string |
toInt() X-Ref |
Returns the integer representation of this level. return: integer |
toLevel($arg, $defaultLevel = null) X-Ref |
Convert the string passed as argument to a level. If the conversion fails, then this method returns a DEBUG Level. param: mixed $arg param: LoggerLevel $default |
Généré le : Sun Feb 25 10:22:19 2007 | par Balluche grâce à PHPXref 0.7 |