class Debugger

Debugger: displays and logs errors.

Constants

VERSION

DEVELOPMENT

server modes for Debugger::enable()

PRODUCTION

server modes for Debugger::enable()

DETECT

server modes for Debugger::enable()

COOKIE_SECRET

DEBUG

for Debugger::log() and Debugger::fireLog()

INFO

for Debugger::log() and Debugger::fireLog()

WARNING

for Debugger::log() and Debugger::fireLog()

ERROR

for Debugger::log() and Debugger::fireLog()

EXCEPTION

for Debugger::log() and Debugger::fireLog()

CRITICAL

for Debugger::log() and Debugger::fireLog()

Properties

static bool $productionMode
static bool $showBar
static bool $showFireLogger
static int $reservedMemorySize
static ?array $obStatus
static bool|int $strictMode
static bool|int $scream
static callable[] $onFatalError
static int $maxDepth
static int $maxLength
static int $maxItems
static bool $showLocation
static string[] $keysToHide
static string $dumpTheme
static deprecated $maxLen
static string|null $logDirectory
static int $logSeverity
static string|array $email
static float $time
static string $editor
static array $editorMapping
static string $browser
static string $errorTemplate
static string[] $customCssFiles
static string[] $customJsFiles

Methods

__construct()

Static class - cannot be instantiated.

static void
enable(bool|string|string[] $mode = null, string|null $logDirectory = null, string|array $email = null)

Enables displaying or logging errors and exceptions.

static void
dispatch()

No description

static void
renderLoader()

Renders loading