trivial fix: add double quote around "some text"

This commit is contained in:
Lu Guanqun 2015-12-02 00:10:48 +08:00
parent 501b16ffbd
commit 901b0d74e6

View File

@ -19,7 +19,7 @@ Most of the API that you need for using g3log is described in this readme. For m
## Logging API: LOG calls
It is optional to use either streaming ```LOG(INFO) << some text ``` or printf-like syntax ```LOGF(WARNING, "some number %d", 123); ```
It is optional to use either streaming ```LOG(INFO) << "some text" ``` or printf-like syntax ```LOGF(WARNING, "some number %d", 123); ```
Conditional logging is made with ```LOG_IF(INFO, <boolean-expression>) << " some text" ``` or ```LOGF_IF(WARNING, <boolean-expression>) << " some text".``` Only if the expressions evaluates to ```true``` will the logging take place.