Commit 2a7e324a by Qiang Xue

Merge pull request #2849 from qiansen1386/patch-6

typo fix in logging.md
parents d79febfd b24636c1
Logging Logging
======= =======
Yii provides flexible and extensible logger that is able to handle messages according to serverity level or their type. Yii provides flexible and extensible logger that is able to handle messages according to severity level or their type.
You may filter messages by multiple criteria and forward them to files, email, debugger etc. You may filter messages by multiple criteria and forward them to files, email, debugger etc.
Logging basics Logging basics
...@@ -26,7 +26,7 @@ There are multiple severity levels and corresponding methods available: ...@@ -26,7 +26,7 @@ There are multiple severity levels and corresponding methods available:
- [[Yii::trace]] used maily for development purpose to indicate workflow of some code. Note that it only works in - [[Yii::trace]] used maily for development purpose to indicate workflow of some code. Note that it only works in
development mode when `YII_DEBUG` is set to `true`. development mode when `YII_DEBUG` is set to `true`.
- [[Yii::error]] used when there's unrecoverable error. - [[Yii::error]] used when there's unrecoverable error.
- [[Yii::warning]] used when an error occured but execution can be continued. - [[Yii::warning]] used when an error occurred but execution can be continued.
- [[Yii::info]] used to keep record of important events such as administrator logins. - [[Yii::info]] used to keep record of important events such as administrator logins.
Log targets Log targets
......
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