Urlaubsplan
Lade ...
Suche ...
Keine Treffer
Config::Exceptions Klassenreferenz
Klassendiagramm für Config::Exceptions:
Zusammengehörigkeiten von Config::Exceptions:

Öffentliche Methoden

 handler (int $statusCode, Throwable $exception)
 

Öffentliche Attribute

bool $log = true
 
array $ignoreCodes = [404]
 
string $errorViewPath = APPPATH . 'Views/errors'
 
array $sensitiveDataInTrace = []
 
bool $logDeprecations = true
 
string $deprecationLogLevel = LogLevel::WARNING
 

Ausführliche Beschreibung

Setup how the exception handler works.

Dokumentation der Elementfunktionen

◆ handler()

Config::Exceptions::handler ( int $statusCode,
Throwable $exception )

Dokumentation der Datenelemente

◆ $deprecationLogLevel

string Config::Exceptions::$deprecationLogLevel = LogLevel::WARNING

LOG LEVEL THRESHOLD FOR DEPRECATIONS

If $logDeprecations is set to true, this sets the log level to which the deprecation will be logged. This should be one of the log levels recognized by PSR-3.

The related Config\Logger::$threshold should be adjusted, if needed, to capture logging the deprecations.

◆ $errorViewPath

string Config::Exceptions::$errorViewPath = APPPATH . 'Views/errors'

Error Views Path

This is the path to the directory that contains the 'cli' and 'html' directories that hold the views used to generate errors.

Default: APPPATH.'Views/errors'

◆ $ignoreCodes

array Config::Exceptions::$ignoreCodes = [404]

◆ $log

bool Config::Exceptions::$log = true

LOG EXCEPTIONS?

If true, then exceptions will be logged through Services::Log.

Default: true

◆ $logDeprecations

bool Config::Exceptions::$logDeprecations = true

WHETHER TO THROW AN EXCEPTION ON DEPRECATED ERRORS

If set to true, DEPRECATED errors are only logged and no exceptions are thrown. This option also works for user deprecations.

◆ $sensitiveDataInTrace

array Config::Exceptions::$sensitiveDataInTrace = []

Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Datei: