summaryrefslogtreecommitdiff
path: root/src/common/param_package.cpp
diff options
context:
space:
mode:
authorGravatar Morph2022-06-16 16:43:32 -0400
committerGravatar GitHub2022-06-16 16:43:32 -0400
commita33e7c13fa0eb9719090f766e328bdd72821f91f (patch)
tree12edac623abae3bfbbf336a67386ce860618f7cb /src/common/param_package.cpp
parentMerge pull request #8474 from DCNick3/yuzu-cmd-respect-log-filter (diff)
parentcommon: param_package: Demote DEBUG to TRACE for getters (diff)
downloadyuzu-a33e7c13fa0eb9719090f766e328bdd72821f91f.tar.gz
yuzu-a33e7c13fa0eb9719090f766e328bdd72821f91f.tar.xz
yuzu-a33e7c13fa0eb9719090f766e328bdd72821f91f.zip
Merge pull request #8472 from german77/tace
common: param_package: Demote DEBUG to TRACE for getters
Diffstat (limited to '')
-rw-r--r--src/common/param_package.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/common/param_package.cpp b/src/common/param_package.cpp
index bbf20f5eb..462502e34 100644
--- a/src/common/param_package.cpp
+++ b/src/common/param_package.cpp
@@ -76,7 +76,7 @@ std::string ParamPackage::Serialize() const {
76std::string ParamPackage::Get(const std::string& key, const std::string& default_value) const { 76std::string ParamPackage::Get(const std::string& key, const std::string& default_value) const {
77 auto pair = data.find(key); 77 auto pair = data.find(key);
78 if (pair == data.end()) { 78 if (pair == data.end()) {
79 LOG_DEBUG(Common, "key '{}' not found", key); 79 LOG_TRACE(Common, "key '{}' not found", key);
80 return default_value; 80 return default_value;
81 } 81 }
82 82
@@ -86,7 +86,7 @@ std::string ParamPackage::Get(const std::string& key, const std::string& default
86int ParamPackage::Get(const std::string& key, int default_value) const { 86int ParamPackage::Get(const std::string& key, int default_value) const {
87 auto pair = data.find(key); 87 auto pair = data.find(key);
88 if (pair == data.end()) { 88 if (pair == data.end()) {
89 LOG_DEBUG(Common, "key '{}' not found", key); 89 LOG_TRACE(Common, "key '{}' not found", key);
90 return default_value; 90 return default_value;
91 } 91 }
92 92
@@ -101,7 +101,7 @@ int ParamPackage::Get(const std::string& key, int default_value) const {
101float ParamPackage::Get(const std::string& key, float default_value) const { 101float ParamPackage::Get(const std::string& key, float default_value) const {
102 auto pair = data.find(key); 102 auto pair = data.find(key);
103 if (pair == data.end()) { 103 if (pair == data.end()) {
104 LOG_DEBUG(Common, "key {} not found", key); 104 LOG_TRACE(Common, "key {} not found", key);
105 return default_value; 105 return default_value;
106 } 106 }
107 107