summaryrefslogtreecommitdiff
path: root/Source/Core/Common
diff options
context:
space:
mode:
authorMat M <mathew1800@gmail.com>2016-10-02 16:51:44 -0400
committerGitHub <noreply@github.com>2016-10-02 16:51:44 -0400
commitccfc0816974bde303ac62bfad019a41ff6fb13f0 (patch)
treeab4fdc886468cf8bd4ccbb8618354e7b0af82a3d /Source/Core/Common
parent2e4ef57b47c1ef06ede4121d4b22ad60abe19082 (diff)
parentf0aa9b3751f4c3efeb3b1794991533d3d4616d03 (diff)
Merge pull request #4245 from aldelaro5/logs-levels-changes
Lots of Logs levels changes (also enable INFO level in every build)
Diffstat (limited to 'Source/Core/Common')
-rw-r--r--Source/Core/Common/BreakPoints.cpp6
-rw-r--r--Source/Core/Common/GL/GLUtil.cpp4
-rw-r--r--Source/Core/Common/Logging/Log.h2
3 files changed, 6 insertions, 6 deletions
diff --git a/Source/Core/Common/BreakPoints.cpp b/Source/Core/Common/BreakPoints.cpp
index a4e5fa64fe..19ae887d55 100644
--- a/Source/Core/Common/BreakPoints.cpp
+++ b/Source/Core/Common/BreakPoints.cpp
@@ -214,9 +214,9 @@ bool TMemCheck::Action(DebugInterface* debug_interface, u32 iValue, u32 addr, bo
{
if (Log)
{
- INFO_LOG(MEMMAP, "CHK %08x (%s) %s%i %0*x at %08x (%s)", pc,
- debug_interface->GetDescription(pc).c_str(), write ? "Write" : "Read", size * 8,
- size * 2, iValue, addr, debug_interface->GetDescription(addr).c_str());
+ NOTICE_LOG(MEMMAP, "CHK %08x (%s) %s%i %0*x at %08x (%s)", pc,
+ debug_interface->GetDescription(pc).c_str(), write ? "Write" : "Read", size * 8,
+ size * 2, iValue, addr, debug_interface->GetDescription(addr).c_str());
}
if (Break)
return true;
diff --git a/Source/Core/Common/GL/GLUtil.cpp b/Source/Core/Common/GL/GLUtil.cpp
index 578f6641e4..8647c36eec 100644
--- a/Source/Core/Common/GL/GLUtil.cpp
+++ b/Source/Core/Common/GL/GLUtil.cpp
@@ -46,7 +46,7 @@ GLuint OpenGL_CompileProgram(const std::string& vertexShader, const std::string&
}
else
{
- DEBUG_LOG(VIDEO, "GLSL vertex shader compiled:\n%s", vertexShader.c_str());
+ INFO_LOG(VIDEO, "GLSL vertex shader compiled:\n%s", vertexShader.c_str());
}
bool shader_errors = !Result;
@@ -70,7 +70,7 @@ GLuint OpenGL_CompileProgram(const std::string& vertexShader, const std::string&
}
else
{
- DEBUG_LOG(VIDEO, "GLSL fragment shader compiled:\n%s", fragmentShader.c_str());
+ INFO_LOG(VIDEO, "GLSL fragment shader compiled:\n%s", fragmentShader.c_str());
}
shader_errors |= !Result;
diff --git a/Source/Core/Common/Logging/Log.h b/Source/Core/Common/Logging/Log.h
index 8245eb8d01..165699ff1b 100644
--- a/Source/Core/Common/Logging/Log.h
+++ b/Source/Core/Common/Logging/Log.h
@@ -82,7 +82,7 @@ void GenericLog(LogTypes::LOG_LEVELS level, LogTypes::LOG_TYPE type, const char*
#define MAX_LOGLEVEL LogTypes::LOG_LEVELS::LDEBUG
#else
#ifndef MAX_LOGLEVEL
-#define MAX_LOGLEVEL LogTypes::LOG_LEVELS::LWARNING
+#define MAX_LOGLEVEL LogTypes::LOG_LEVELS::LINFO
#endif // loglevel
#endif // logging