| [ 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: | 240 lines (8 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 1 file libraries/log4php.debug/LoggerLog.php |
| clear() X-Ref |
| Clear any nested diagnostic information if any. This method is useful in cases where the same thread can be potentially used over and over in different unrelated contexts. <p>This method is equivalent to calling the {@link setMaxDepth()} method with a zero <var>maxDepth</var> argument. |
| get() X-Ref |
| Never use this method directly, use the {@link LoggerLoggingEvent::getNDC()} method instead. return: array |
| getDepth() X-Ref |
| Get the current nesting depth of this diagnostic context. return: integer |
| pop() X-Ref |
| Clients should call this method before leaving a diagnostic context. <p>The returned value is the value that was pushed last. If no context is available, then the empty string "" is returned.</p> return: string The innermost diagnostic context. |
| peek() X-Ref |
| Looks at the last diagnostic context at the top of this NDC without removing it. <p>The returned value is the value that was pushed last. If no context is available, then the empty string "" is returned.</p> return: string The innermost diagnostic context. |
| push($message) X-Ref |
| Push new diagnostic context information for the current thread. <p>The contents of the <var>message</var> parameter is determined solely by the client. param: string $message The new diagnostic context information. |
| remove() X-Ref |
| Remove the diagnostic context for this thread. |
| setMaxDepth($maxDepth) X-Ref |
| Set maximum depth of this diagnostic context. If the current depth is smaller or equal to <var>maxDepth</var>, then no action is taken. <p>This method is a convenient alternative to multiple {@link pop()} calls. Moreover, it is often the case that at the end of complex call sequences, the depth of the NDC is unpredictable. The {@link setMaxDepth()} method circumvents this problem. param: integer $maxDepth |
| Generated: Fri Nov 28 20:08:37 2014 | Cross-referenced by PHPXref 0.7.1 |