Class CEmailLogRoute
CEmailLogRoute 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, the setSentFrom sentFrom address and any additional setHeaders headers.
- CComponent
- CLogRoute
- CEmailLogRoute
Package: system\logging
Copyright: 2008-2013 Yii Software LLC
License: http://www.yiiframework.com/license/
Author: Qiang Xue <qiang.xue@gmail.com>
Since: 1.0
Located at x2engine/framework/logging/CEmailLogRoute.php
Copyright: 2008-2013 Yii Software LLC
License: http://www.yiiframework.com/license/
Author: Qiang Xue <qiang.xue@gmail.com>
Since: 1.0
Located at x2engine/framework/logging/CEmailLogRoute.php
protected
|
|
protected
|
|
public
array
|
|
public
|
|
public
string
|
|
public
|
|
public
string
|
|
public
|
|
public
array
|
|
public
|
collectLogs(),
formatLogMessage(),
init()
|
public
boolean
|
$utf8 | false |
#
set this property to true value in case log data you're going to send through emails contains non-latin or UTF-8 characters. Emails would be UTF-8 encoded. |
$categories,
$enabled,
$except,
$filter,
$levels,
$logs
|
public
array
|
$emails |
#
List of destination email addresses. |
public
string
|
$subject |
#
Email subject. Defaults to CEmailLogRoute::DEFAULT_SUBJECT. |
public
string
|
$sentFrom |
#
Send from address of the email. |
public
array
|
$headers |
#
Additional headers to use when sending an email. |