From 901b0d74e649652fcf77bff50171d19b7dad4761 Mon Sep 17 00:00:00 2001 From: Lu Guanqun Date: Wed, 2 Dec 2015 00:10:48 +0800 Subject: [PATCH] trivial fix: add double quote around "some text" --- API.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/API.markdown b/API.markdown index 4cfda5f..3342e96 100644 --- a/API.markdown +++ b/API.markdown @@ -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, ) << " some text" ``` or ```LOGF_IF(WARNING, ) << " some text".``` Only if the expressions evaluates to ```true``` will the logging take place.