클래스·함수 명세

Debug

Zittme\Framework\Debug 클래스의 공개 메서드 목록입니다. 이 문서는 Zittme 코어 소스에서 자동 생성되었습니다.

소스: common/framework/Debug.php

공개 메서드

  • static function enable()
  • Enable log collection.
  • static function disable()
  • Disable log collection.
  • static function getEntries()
  • Get all entries.
  • static function clearEntries()
  • Clear all entries.
  • static function getErrors()
  • Get all errors.
  • static function clearErrors()
  • Clear all errors.
  • static function getQueries()
  • Get all queries.
  • static function getSlowQueries()
  • Get all slow queries.
  • static function clearQueries()
  • Clear all queries.
  • static function getTriggers()
  • Get all triggers.
  • static function getSlowTriggers()
  • Get all slow triggers.
  • static function clearTriggers()
  • Clear all triggers.
  • static function getWidgets()
  • Get all widgets.
  • static function getSlowWidgets()
  • Get all slow widgets.
  • static function clearWidgets()
  • Clear all widgets.
  • static function getRemoteRequests()
  • Get all remote requests.
  • static function getSlowRemoteRequests()
  • Get all slow remote requests.
  • static function clearRemoteRequests()
  • Clear all remote requests.
  • static function clearAll()
  • Clear all records.
  • static function addFilenameAlias(string $display_filename, string $real_filename)
  • Add a filename alias.
  • static function addTime(string $type, float $time)
  • Add time to a timer variable.
  • static function addEntry($message)
  • Add an arbitrary entry to the log.
  • static function addError(int $errno, string $errstr, string $errfile, int $errline)
  • Add a PHP error to the log.
  • static function addQuery(array $query)
  • Add a query to the log.
  • static function addTrigger(array $trigger)
  • Add a trigger to the log.
  • static function addWidget(array $widget)
  • Add a widget to the log.
  • static function addRemoteRequest(array $request)
  • Add a remote request to the log.
  • static function exceptionHandler(\Throwable $e)
  • The default handler for catching exceptions.
  • static function shutdownHandler()
  • The default handler for catching fatal errors.
  • static function formatBacktrace(array $backtrace)
  • Format a backtrace for error logging.
  • static function translateFilename(string $filename)
  • Translate filenames.
  • static function registerErrorHandlers(int $error_types)
  • Register all error handlers.
  • static function displayErrorScreen(string $message, string $location = '')
  • Display a fatal error screen.
  • static function displayError(string $message)
  • Display a default error.
  • static function isEnabledForCurrentUser()
  • Check if debugging is enabled for the current user.
  • static function getDebugData()
  • Get all debug information as an object.
  • static function getErrorType(int $errno)
  • Convert a PHP error number to the corresponding error name.