Debugger
class Debugger
Debugger: displays and logs errors.
Constants
VERSION |
|
DEVELOPMENT |
server modes Debugger::enable() |
PRODUCTION |
server modes Debugger::enable() |
DETECT |
server modes Debugger::enable() |
COOKIE_SECRET |
|
DEBUG |
Debugger::log()} and {@link Debugger::fireLog() |
INFO |
Debugger::log()} and {@link Debugger::fireLog() |
WARNING |
Debugger::log()} and {@link Debugger::fireLog() |
ERROR |
Debugger::log()} and {@link Debugger::fireLog() |
EXCEPTION |
Debugger::log()} and {@link Debugger::fireLog() |
CRITICAL |
Debugger::log()} and {@link Debugger::fireLog() |
Properties
static deprecated | $version | ||
static bool | $productionMode | ||
static bool | $showBar | ||
static bool|int | $strictMode | ||
static bool | $scream | ||
static array | $onFatalError | ||
static int | $maxDepth | ||
static int | $maxLen | ||
static bool | $showLocation | ||
static string | $logDirectory | ||
static int | $logSeverity | ||
static string|array | |||
static int | $time | ||
static deprecated | $source | ||
static string | $editor | ||
static string | $browser | ||
static string | $errorTemplate |
Methods
Static class - cannot be instantiated.
Enables displaying or logging errors and exceptions.
No description
Shutdown handler to catch fatal errors and execute of the planned activities.
Handler to catch uncaught exception.
Handler to catch warnings and notices.
No description
No description
Dumps information about a variable in readable format.
Starts/stops stopwatch.
Dumps information about a variable in Tracy Debug Bar.
Logs message or exception.
Sends message to FireLogger console.
Detects debug mode by IP address.
Details
at line 127
final
__construct()
Static class - cannot be instantiated.
at line 140
static void
enable($mode = NULL, $logDirectory = NULL, $email = NULL)
Enables displaying or logging errors and exceptions.
at line 194
static bool
isEnabled()
No description
at line 205
static void
shutdownHandler()
internal |
Shutdown handler to catch fatal errors and execute of the planned activities.
at line 232
static void
exceptionHandler($exception, $exit = TRUE)
internal |
Handler to catch uncaught exception.
at line 323
static bool
errorHandler($severity, $message, $file, $line, $context)
internal |
Handler to catch warnings and notices.
at line 414
static BlueScreen
getBlueScreen()
No description
at line 431
static Bar
getBar()
No description
at line 446
static void
setLogger(ILogger $logger)
No description
at line 455
static ILogger
getLogger()
No description
at line 469
static ILogger
getFireLogger()
No description
at line 488
static mixed
dump($var, $return = FALSE)
Dumps information about a variable in readable format.
at line 515
static float
timer($name = NULL)
Starts/stops stopwatch.
at line 533
static mixed
barDump($var, $title = NULL, array $options = NULL)
Dumps information about a variable in Tracy Debug Bar.
at line 555
static mixed
log($message, $priority = ILogger::INFO)
Logs message or exception.
at line 566
static bool
fireLog($message)
Sends message to FireLogger console.
at line 579
static bool
detectDebugMode($list = NULL)
Detects debug mode by IP address.