class Debugger (View source)

Constants

DEVELOPMENT

PRODUCTION

DETECT

COOKIE_SECRET

DEBUG

Konstants untuk Debugger::log() dan Debugger::fireLog().

INFO

WARNING

ERROR

EXCEPTION

CRITICAL

Properties

static bool $productionMode

Beralih ke mode produksi (matikan seluruh fitur debugger).

static bool $showBar

Tampilkan debug bar?

static bool $showFirelog

Kirimkan data ke Firelogger?

static bool|int $strictMode

Langsung hentinkan aplikasi saat terjadi error? Isi dengan boolean atau konstanta error PHP (E_NOTICE, E_WARNING dsb.).

static bool $scream

Abaikan operator @ (diam!) agar seluruh error bisa ditampilkan.

static array|callable $onFatalError

Berisi closure yang akan otomatis terpanggil saat terjadi fatal error.

static int $maxDepth

Berapa dalam array/object yang harus ditampilkan oleh dump()?

static int $maxLength

Berapa banyak karakter harus ditampilkan oleh dump()?

static bool $showLocation

Tampilkan juga lokasi file ketika memanggil dump()?

static string|null $logDirectory

Path ke direktori tempat menyimpan log error.

static int $logSeverity

Log error - error ini saat berada di mode produksi.

static string|array $email

Alamat email untuk yang akan dikirimi log ketika terjadi error.

static int $time

Timestamp awal request dimulai (dalam microsecond).

static string $editor

URI untuk fitur open in editor.

static array $editorMapping

Mapping path editor.

static string $browser

Perintah untuk membuka browser (gunakan 'start ""' di Windows).

static string $errorTemplate

Path view untuk halaman error.

static array $customCssFiles

Path untuk css kustom.

static array $customJsFiles

Path untuk js kustom.

Methods

__construct()

Jangan izinkan instansiasi kelas.

static void
enable(mixed $mode = null, string $logDirectory = null, string $email = null)

Aktifkan debugger?

static void
dispatch()

Restart debugger.

static void
renderLoader()

Render loading tag