protected function addLog($message, $level = 'info') { Yii::log($message . ' (obj: ' . $this->getRealPath() . ')', $level, 'ext.file'); }