123456789101112131415161718192021222324252627 |
- <?php
- namespace app\models;
- use Yii;
- class LoggerDB extends \yii\db\ActiveRecord implements ILogger
- {
-
- private function saveToDb($message)
- {
-
- }
-
- public function log($message) {
-
- $this->saveToDb($message);
- }
- }
|