mirror of
https://github.com/KjellKod/g3log.git
synced 2025-04-01 09:24:56 +02:00
trivial fix: add double quote around "some text"
This commit is contained in:
parent
501b16ffbd
commit
901b0d74e6
@ -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.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user