Removed too verbose log

This commit is contained in:
emeric
2024-09-13 19:07:11 +02:00
parent 8cd848651b
commit 939e6446b6
-7
View File
@@ -19,7 +19,6 @@
#include "State.hpp"
#include "core/ILogger.hpp"
#include "database/Session.hpp"
#include "database/UIState.hpp"
#include "database/User.hpp"
@@ -34,8 +33,6 @@ namespace lms::ui::state::details
if (LmsApp->getUserType() == db::UserType::DEMO)
return;
LMS_LOG(UI, DEBUG, "Write state '" << item << "': '" << value << "'");
{
auto transaction{ LmsApp->getDbSession().createWriteTransaction() };
@@ -67,8 +64,6 @@ namespace lms::ui::state::details
res = state->getValue();
}
LMS_LOG(UI, DEBUG, "Read state '" << item << "': '" << (res ? *res : "<no value>") << "'";);
return res;
}
@@ -78,8 +73,6 @@ namespace lms::ui::state::details
if (LmsApp->getUserType() == db::UserType::DEMO)
return;
LMS_LOG(UI, DEBUG, "Removing state '" << item << "'");
{
auto transaction{ LmsApp->getDbSession().createWriteTransaction() };