summaryrefslogtreecommitdiff
path: root/indra/llcommon/llerror.cpp
diff options
context:
space:
mode:
authorJonathan Yap <none@none>2011-12-23 12:06:36 -0500
committerJonathan Yap <none@none>2011-12-23 12:06:36 -0500
commit8a3aa3f6cac3da0ee962dac211580a7987a4fc31 (patch)
treebf747ffc1f564a6e7b292da062c7063b30b7427d /indra/llcommon/llerror.cpp
parent570d562f5871f40bd7f8c683db5316ffd0133335 (diff)
STORM-1790 Provide a Develop sub-menu to change the default logging level
co-authored with Zi Ree
Diffstat (limited to 'indra/llcommon/llerror.cpp')
-rw-r--r--indra/llcommon/llerror.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/llcommon/llerror.cpp b/indra/llcommon/llerror.cpp
index c35799bbb9..e4381dbbd6 100644
--- a/indra/llcommon/llerror.cpp
+++ b/indra/llcommon/llerror.cpp
@@ -617,6 +617,12 @@ namespace LLError
s.defaultLevel = level;
}
+ ELevel getDefaultLevel()
+ {
+ Settings& s = Settings::get();
+ return s.defaultLevel;
+ }
+
void setFunctionLevel(const std::string& function_name, ELevel level)
{
Globals& g = Globals::get();