Class \Prado\Util\TEmailLogRoute
TEmailLogRoute class.
TEmailLogRoute sends selected log messages to email addresses. The target email addresses may be specified via \Prado\Util\setEmails property. Optionally, you may set the email \Prado\Util\setSubject and the \Prado\Util\setSentFrom address.
Class hierarchy
Author: Qiang Xue <qiang.xue@gmail.com>Since: 3.0
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
protected
|
processLogs(array<string|int, mixed> $logs, bool $final, array<string|int, mixed> $meta) : mixed
Sends log messages to specified email addresses.
|
public
mixed
|
DEFAULT_SUBJECT
Default email subject.
|
'Prado Application Log'
|
public
mixed
|
EMAIL_PATTERN
Regex pattern for email address.
|
'/^([0-9a-zA-Z]+[-._+&])*[0-9a-zA-Z]+@([-0-9a-zA-Z]+[.])+[a-zA-Z]{2,6}$/'
|
\Prado\TApplicationComponent::FX_CACHE_FILE, \Prado\TComponent::GLOBAL_RAISE_EVENT_LISTENER |