summaryrefslogtreecommitdiff
path: root/indra/llcommon/llerror.cpp
diff options
context:
space:
mode:
authormerov <none@none>2012-01-13 15:13:13 -0800
committermerov <none@none>2012-01-13 15:13:13 -0800
commit6051ac65d62c364e3d797a841d675e20f4182e63 (patch)
tree945883571ae7f12689233fccfd4bd09ead7d9f05 /indra/llcommon/llerror.cpp
parent86ef722e7cb2e4c791e8223f5c09a0552b52b574 (diff)
parent86009704769a79768eb02f459b1b99ea060e5fc1 (diff)
Pull from viewer-experience
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();