Commit 8a7e8523 by Qiang Xue

minor doc fix. [skip ci]

parent 2f854bbb
...@@ -33,7 +33,8 @@ Log targets ...@@ -33,7 +33,8 @@ Log targets
----------- -----------
When one of the logging methods is called, message is passed to [[yii\log\Logger]] component accessible as When one of the logging methods is called, message is passed to [[yii\log\Logger]] component accessible as
`Yii::$app->log->logger` or `Yii::getLogger()`. Logger accumulates messages in memory and then when there are enough messages or when current request finishes, sends them to different log targets, such as file or email. `Yii::getLogger()`. Logger accumulates messages in memory and then when there are enough messages
or when the current request finishes, sends them to different log targets, such as file or email.
You may configure the targets in application configuration, like the following: You may configure the targets in application configuration, like the following:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment