Update logging.md

Currently `Yii::$app->log` is not the `yii\log\Logger`, but the `yii\log\Dispatcher`. Logger is transient component used indirectly and separately by the dispatcher and helper methods for logging.
Merge pull request #2996 from hijarian/patch-1

Update logging.md