[ Index ] |
PHP Cross Reference of vtigercrm-6.1.0 |
[Source view] [Print] [Project Stats]
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>
File Size: | 264 lines (7 kb) |
Included or required: | 4 times |
Referenced: | 0 times |
Includes or requires: | 1 file libraries/log4php.debug/LoggerLog.php |
LoggerLevel:: (14 methods):
LoggerLevel()
equals()
getLevelOff()
getLevelFatal()
getLevelError()
getLevelWarn()
getLevelInfo()
getLevelDebug()
getLevelAll()
getSyslogEquivalent()
isGreaterOrEqual()
toString()
toInt()
toLevel()
Class: 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 |
Generated: Fri Nov 28 20:08:37 2014 | Cross-referenced by PHPXref 0.7.1 |