Property | Type | Description | |
---|---|---|---|
$logger | Psr\Log\LoggerInterface | null |
Method | Description | |
---|---|---|
__construct ( Psr\Log\LoggerInterface $logger = null ) | ||
handle ( Exception $exception ) | ||
setLogger ( Psr\Log\LoggerInterface $logger ) |
Method | Description | |
---|---|---|
buildLogMessage ( Exception $exception ) : string | ||
handleErrorException ( ErrorException $exception ) : boolean |
public __construct ( Psr\Log\LoggerInterface $logger = null ) | ||
$logger | Psr\Log\LoggerInterface |
protected buildLogMessage ( Exception $exception ) : string | ||
$exception | Exception | |
return | string |
protected handleErrorException ( ErrorException $exception ) : boolean | ||
$exception | ErrorException | |
return | boolean |
public setLogger ( Psr\Log\LoggerInterface $logger ) | ||
$logger | Psr\Log\LoggerInterface |
protected LoggerInterface,Psr\Log|null $logger | ||
return | Psr\Log\LoggerInterface | null |