summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2021-06-08 00:49:14 +0300
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2021-06-08 00:51:08 +0300
commit5b730160f662d0324ba01f498744a279d002a910 (patch)
tree84b47614807bc681c09d0417c4605ddd595f0a38
parente7319fb6710f7121ead544493af6407482aea44c (diff)
SL-15168 A bit of debug logging
-rw-r--r--indra/newview/llurlfloaterdispatchhandler.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/llurlfloaterdispatchhandler.cpp b/indra/newview/llurlfloaterdispatchhandler.cpp
index 0343485864..2e595390cc 100644
--- a/indra/newview/llurlfloaterdispatchhandler.cpp
+++ b/indra/newview/llurlfloaterdispatchhandler.cpp
@@ -145,6 +145,7 @@ bool LLUrlFloaterDispatchHandler::operator()(const LLDispatcher *, const std::st
if (floater == FLOATER_GUIDEBOOK || floater == FLOATER_HOW_TO)
{
+ LL_DEBUGS("URLFloater") << "Opening how_to floater with parameters: " << message << LL_ENDL;
if (command_params.isMap()) // by default is undefines
{
params.trusted_content = command_params.has(KEY_TRUSTED_CONTENT) ? command_params[KEY_TRUSTED_CONTENT].asBoolean() : false;
@@ -185,6 +186,7 @@ bool LLUrlFloaterDispatchHandler::operator()(const LLDispatcher *, const std::st
}
else if (floater == FLOATER_WEB_CONTENT)
{
+ LL_DEBUGS("URLFloater") << "Opening web_content floater with parameters: " << message << LL_ENDL;
if (command_params.isMap()) // by default is undefines, might be better idea to init params from command_params
{
params.trusted_content = command_params.has(KEY_TRUSTED_CONTENT) ? command_params[KEY_TRUSTED_CONTENT].asBoolean() : false;
@@ -195,6 +197,7 @@ bool LLUrlFloaterDispatchHandler::operator()(const LLDispatcher *, const std::st
}
else
{
+ LL_DEBUGS("URLFloater") << "Unknow floater with parameters: " << message << LL_ENDL;
if (LLFloaterReg::isRegistered(floater))
{
// A valid floater