aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llcommon/llerror.h
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/llcommon/llerror.h')
-rw-r--r--linden/indra/llcommon/llerror.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/linden/indra/llcommon/llerror.h b/linden/indra/llcommon/llerror.h
index 6794be4..37e922d 100644
--- a/linden/indra/llcommon/llerror.h
+++ b/linden/indra/llcommon/llerror.h
@@ -239,7 +239,7 @@ typedef LLError::NoClassInfo _LL_CLASS_TO_LOG;
239*/ 239*/
240 240
241#define lllog(level, broadTag, narrowTag, once) \ 241#define lllog(level, broadTag, narrowTag, once) \
242 { \ 242 do { \
243 static LLError::CallSite _site( \ 243 static LLError::CallSite _site( \
244 level, __FILE__, __LINE__, typeid(_LL_CLASS_TO_LOG), __FUNCTION__, broadTag, narrowTag, once);\ 244 level, __FILE__, __LINE__, typeid(_LL_CLASS_TO_LOG), __FUNCTION__, broadTag, narrowTag, once);\
245 if (_site.shouldLog()) \ 245 if (_site.shouldLog()) \
@@ -252,7 +252,7 @@ typedef LLError::NoClassInfo _LL_CLASS_TO_LOG;
252 LLError::End(); \ 252 LLError::End(); \
253 LLError::Log::flush(_out, _site); \ 253 LLError::Log::flush(_out, _site); \
254 } \ 254 } \
255 } 255 } while(0)
256 256
257// DEPRECATED: Use the new macros that allow tags and *look* like macros. 257// DEPRECATED: Use the new macros that allow tags and *look* like macros.
258#define lldebugs lllog(LLError::LEVEL_DEBUG, NULL, NULL, false) 258#define lldebugs lllog(LLError::LEVEL_DEBUG, NULL, NULL, false)