bootstrap() 공개 메소드

public bootstrap ( $app )
예제 #1
0
파일: Module.php 프로젝트: amnah/yii2-debug
 /**
  * @inheritdoc
  */
 public function bootstrap($app)
 {
     parent::bootstrap($app);
     // override the log target with ours
     $this->logTarget = Yii::$app->getLog()->targets['debug'] = new LogTarget($this);
 }