refactored object creation.

added more exception classes.
working on request and response classes.
This commit is contained in:
Qiang Xue
2012-06-30 22:21:28 -04:00
parent d743d9bc02
commit b1047e7ff6
27 changed files with 413 additions and 242 deletions

View File

@@ -23,7 +23,7 @@ namespace yii\logging;
* @author Qiang Xue <qiang.xue@gmail.com>
* @since 2.0
*/
abstract class Target extends \yii\base\Component implements \yii\base\Initable
abstract class Target extends \yii\base\Component
{
/**
* @var boolean whether to enable this log target. Defaults to true.
@@ -89,15 +89,6 @@ abstract class Target extends \yii\base\Component implements \yii\base\Initable
*/
abstract public function exportMessages($final);
/**
* Initializes this component.
* This method is invoked after the component is created and its property values are
* initialized.
*/
public function init()
{
}
/**
* Processes the given log messages.
* This method will filter the given messages with [[levels]] and [[categories]].