From 1ed351e28f1134ba06fd9459927d0d146e204fbf Mon Sep 17 00:00:00 2001 From: Nat Goodspeed <nat@lindenlab.com> Date: Thu, 1 Sep 2016 19:46:39 -0400 Subject: MAINT-5011: Use LL_VLOGS() rather than raw lllog() macro. Raw lllog() doesn't work for varying log level, which is why LL_VLOGS() exists. --- indra/llcommon/llexception.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'indra') diff --git a/indra/llcommon/llexception.cpp b/indra/llcommon/llexception.cpp index 1c39c0f827..25aa5847a2 100644 --- a/indra/llcommon/llexception.cpp +++ b/indra/llcommon/llexception.cpp @@ -28,8 +28,7 @@ void log_unhandled_exception_(LLError::ELevel level, const std::string& context) { // log same message but allow caller-specified severity level - // lllog() is the macro underlying LL_ERRS(), LL_WARNS() et al. - lllog(level, false, "LLException") + LL_VLOGS(level, "LLException") << file << "(" << line << "): Unhandled exception caught in " << pretty_function; if (! context.empty()) { -- cgit v1.2.3