Debug
in package
This is a place holder. Other than dumpPost() it needs a bit of work.
The goal here is to greate a debug mode where the code streams out a debug log to a string during a request and if we are in developer mode and debugging, the log is shown in the UI in a div that can be toggled like in Wicket or OLAT.
But this needs a bit of work to appear in the UI and so for now, please don't use it until it is cleaned up. Also it should stop using global values and stop being static. But other than that, this is sweet code :).
Table of Contents
Methods
- clear() : mixed
- dump() : mixed
- dumpPost() : mixed
- Dump out the contents of the $_POST properly escaped in pre tags.
- log() : mixed
Methods
clear()
public
static clear() : mixed
dump()
public
static dump() : mixed
dumpPost()
Dump out the contents of the $_POST properly escaped in pre tags.
public
static dumpPost() : mixed
log()
public
static log(mixed $text[, mixed $mixed = false ]) : mixed
Parameters
- $text : mixed
- $mixed : mixed = false