BUILDFIX: converted platform-specific files over to new LL_INFOS, etc macros
fixed bad search and replacemaster
parent
d83c51a4e1
commit
01c1d40b3f
|
|
@ -308,7 +308,7 @@ typedef LLError::NoClassInfo _LL_CLASS_TO_LOG;
|
|||
#define lllog(level, once, ...) \
|
||||
do { \
|
||||
const char* tags[] = {"", ##__VA_ARGS__}; \
|
||||
::size_t tag_count = LL_ARRAY_SIZE(tags) - 1; \
|
||||
::size_t tag_count = LL_ARRAY_SIZE(tags) - 1; \
|
||||
static LLError::CallSite _site( \
|
||||
level, __FILE__, __LINE__, typeid(_LL_CLASS_TO_LOG), __FUNCTION__, once, &tags[1], tag_count);\
|
||||
if (LL_UNLIKELY(_site.shouldLog())) \
|
||||
|
|
@ -356,10 +356,10 @@ typedef LLError::NoClassInfo _LL_CLASS_TO_LOG;
|
|||
|
||||
// DEPRECATED: Use the new macros that allow tags and *look* like macros.
|
||||
//#define lldebugs LL_DEBUGS()
|
||||
#define LL_INFOS() LL_INFOS()
|
||||
#define llinfos LL_INFOS()
|
||||
//#define llwarns LL_WARNS()
|
||||
//#define llerrs LL_ERRS()
|
||||
//#define llcont LL_CONT
|
||||
#define LL_ENDL LL_ENDL
|
||||
#define llendl LL_ENDL
|
||||
|
||||
#endif // LL_LLERROR_H
|
||||
|
|
|
|||
Loading…
Reference in New Issue