Class MagratheaDebugger
Magrathea Debugger can manage anything for debugging and error-searching through Magrathea Codes. It can trace errors, save log files, print queries and do a bunch of functions that would help the developer on error searching
Located at MagratheaDebugger.php
Methods summary
public static
|
|
public
|
|
public
itself
|
#
SetType( $dType )
Sets the debugger method It can be: DEV, DEBUG, LOG, NONE => MagratheaDebugger::DEV = Will print the debugs as it appears in the code MagratheaDebugger::DEBUG = Will store all the debugs and print it later MagratheaDebugger::LOG = Will log queries and other debugs in the code MagratheaDebugger::NONE = Well... nothing to do, heh? Default: LOG |
public
itself
|
|
public
itself
|
#
SetLogFile( string $file )
Set the name of log file that will be used (it will be created inside "logs" folder) |
public
|
|
public
itself
|
|
public
itself
|
|
public
string
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
Magic methods summary
Constants summary
integer |
NONE
|
#
0
|
integer |
LOG
|
#
2
|
integer |
DEBUG
|
#
3
|
integer |
DEV
|
#
4
|
Properties summary
protected static
|
$inst
|
#
null
|