This is a debugger class.
Helps in debugging your code. It features automatic Prefix Management in a push/pop style management and lets you decide which messages are logged into the logfile by setting loglevels for the debugger and for each message.
There are five loglevel constants you can use when setting the loglevel or when logging messages:
Note: The Debugger is disabled per default to save performance. You have to explicitly enable it by calling the enable function.
Located in /midcom.core/midcom/debug.php (line 35)
| Class | Description |
|---|---|
| midcom_helper_replicator_logger |
Log a message with debug loglevel
Log a message with info loglevel
Log a message with warning loglevel
Standard constructor
Disable the Debugger
Enable the Debugger
Is the debugger enabled?
Log a message
Restore the last debug prefix
Dump the current memory usage and the delta to the last call of this function.
Useful for tracking memory leaks.
Format will be:
$curmem (delta $delta): $message
Dump stack trace, only working when XDebug is present.
Dump a variable (by reference)
Dump a variables type (by reference)
Set a new debug prefix
Set log file name
Set log level
Documentation generated on Fri, 10 Oct 2008 21:51:35 +0300 by phpDocumentor 1.4.2