Class TEmailLogRoute
TEmailLogRoute class.
TEmailLogRoute sends selected log messages to email addresses. The target email addresses may be specified via setEmails Emails property. Optionally, you may set the email setSubject Subject and the setSentFrom SentFrom address.
- TComponent
-
TApplicationComponent
-
TLogRoute
-
TEmailLogRoute
Package: System\Util
Copyright: Copyright © 2005-2014 PradoSoft
License: http://www.pradosoft.com/license/
Author: Qiang Xue <qiang.xue@gmail.com>
Since: 3.0
Located at Util/TLogRouter.php
Copyright: Copyright © 2005-2014 PradoSoft
License: http://www.pradosoft.com/license/
Author: Qiang Xue <qiang.xue@gmail.com>
Since: 3.0
Located at Util/TLogRouter.php
public
|
|
protected
|
|
public
array
|
|
public
array|string
|
|
public
string
|
|
public
|
|
public
string
|
|
public
|
collectLogs(),
formatLogMessage(),
getCategories(),
getLevelName(),
getLevelValue(),
getLevels(),
setCategories(),
setLevels()
|
getApplication(),
getRequest(),
getResponse(),
getService(),
getSession(),
getUser(),
publishAsset(),
publishFilePath()
|
string |
EMAIL_PATTERN |
'/^([0-9a-zA-Z]+[-._+&])*[0-9a-zA-Z]+@([-0-9a-zA-Z]+[.])+[a-zA-Z]{2,6}$/' |
#
Regex pattern for email address. |
string |
DEFAULT_SUBJECT |
'Prado Application Log' |
#
Default email subject. |
GLOBAL_RAISE_EVENT_LISTENER
|
$_levelNames,
$_levelValues
|