diff --git a/indra/llcommon/llerror.h b/indra/llcommon/llerror.h index b3e604f8e83f177c6a2285c524fea201b7e30bbb..a72e9a48923ca8e52f996e3c463556c2caecb150 100644 --- a/indra/llcommon/llerror.h +++ b/indra/llcommon/llerror.h @@ -143,9 +143,13 @@ namespace LLError CallSite(ELevel, const char* file, int line, const std::type_info& class_info, const char* function, const char* broadTag, const char* narrowTag, bool printOnce); +#ifdef LL_LIBRARY_INCLUDE + bool shouldLog(); +#else // LL_LIBRARY_INCLUDE bool shouldLog() { return mCached ? mShouldLog : Log::shouldLog(*this); } // this member function needs to be in-line for efficiency +#endif // LL_LIBRARY_INCLUDE void invalidate();