diff options
author | Petr Mrázek <peterix@gmail.com> | 2013-10-06 03:20:19 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2013-10-06 03:20:19 +0200 |
commit | 77d5ea36ae096a212280d34b978f4cf0b030431f (patch) | |
tree | a3346f9cc68e3f8b1adc18dd5a4f927e6dee0a17 /logic/JavaUtils.cpp | |
parent | 8b18af051585108a65a01347d333ce79e2e82d23 (diff) | |
download | MultiMC-77d5ea36ae096a212280d34b978f4cf0b030431f.tar MultiMC-77d5ea36ae096a212280d34b978f4cf0b030431f.tar.gz MultiMC-77d5ea36ae096a212280d34b978f4cf0b030431f.tar.lz MultiMC-77d5ea36ae096a212280d34b978f4cf0b030431f.tar.xz MultiMC-77d5ea36ae096a212280d34b978f4cf0b030431f.zip |
Log java util stuff using the new logging method
Diffstat (limited to 'logic/JavaUtils.cpp')
-rw-r--r-- | logic/JavaUtils.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/logic/JavaUtils.cpp b/logic/JavaUtils.cpp index d89ab9c5..1cfd0a77 100644 --- a/logic/JavaUtils.cpp +++ b/logic/JavaUtils.cpp @@ -20,7 +20,7 @@ #include <QStringList> #include <QString> #include <QDir> -#include <QDebug> +#include <logger/QsLog.h> #if WINDOWS #include <windows.h> @@ -74,7 +74,7 @@ QStringList JavaUtils::FindJavaPath() if(paths.length() <= 0) { - qWarning() << "Failed to find Java in the Windows registry - defaulting to \"java\""; + QLOG_WARN() << "Failed to find Java in the Windows registry - defaulting to \"java\""; paths << "java"; } @@ -83,7 +83,7 @@ QStringList JavaUtils::FindJavaPath() #elif OSX QStringList JavaUtils::FindJavaPath() { - qWarning() << "OS X Java detection incomplete - defaulting to \"java\""; + QLOG_INFO() << "OS X Java detection incomplete - defaulting to \"java\""; QStringList paths; paths << "java"; @@ -94,7 +94,7 @@ QStringList JavaUtils::FindJavaPath() #elif LINUX QStringList JavaUtils::FindJavaPath() { - qWarning() << "Linux Java detection incomplete - defaulting to \"java\""; + QLOG_INFO() << "Linux Java detection incomplete - defaulting to \"java\""; QStringList paths; paths << "java"; @@ -104,7 +104,7 @@ QStringList JavaUtils::FindJavaPath() #else QStringList JavaUtils::FindJavaPath() { - qWarning() << "Unknown operating system build - defaulting to \"java\""; + QLOG_INFO() << "Unknown operating system build - defaulting to \"java\""; QStringList paths; paths << "java"; |