Log java util stuff using the new logging method
This commit is contained in:
parent
8b18af0515
commit
77d5ea36ae
@ -20,7 +20,7 @@
|
|||||||
#include <QStringList>
|
#include <QStringList>
|
||||||
#include <QString>
|
#include <QString>
|
||||||
#include <QDir>
|
#include <QDir>
|
||||||
#include <QDebug>
|
#include <logger/QsLog.h>
|
||||||
|
|
||||||
#if WINDOWS
|
#if WINDOWS
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
@ -74,7 +74,7 @@ QStringList JavaUtils::FindJavaPath()
|
|||||||
|
|
||||||
if(paths.length() <= 0)
|
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";
|
paths << "java";
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -83,7 +83,7 @@ QStringList JavaUtils::FindJavaPath()
|
|||||||
#elif OSX
|
#elif OSX
|
||||||
QStringList JavaUtils::FindJavaPath()
|
QStringList JavaUtils::FindJavaPath()
|
||||||
{
|
{
|
||||||
qWarning() << "OS X Java detection incomplete - defaulting to \"java\"";
|
QLOG_INFO() << "OS X Java detection incomplete - defaulting to \"java\"";
|
||||||
|
|
||||||
QStringList paths;
|
QStringList paths;
|
||||||
paths << "java";
|
paths << "java";
|
||||||
@ -94,7 +94,7 @@ QStringList JavaUtils::FindJavaPath()
|
|||||||
#elif LINUX
|
#elif LINUX
|
||||||
QStringList JavaUtils::FindJavaPath()
|
QStringList JavaUtils::FindJavaPath()
|
||||||
{
|
{
|
||||||
qWarning() << "Linux Java detection incomplete - defaulting to \"java\"";
|
QLOG_INFO() << "Linux Java detection incomplete - defaulting to \"java\"";
|
||||||
|
|
||||||
QStringList paths;
|
QStringList paths;
|
||||||
paths << "java";
|
paths << "java";
|
||||||
@ -104,7 +104,7 @@ QStringList JavaUtils::FindJavaPath()
|
|||||||
#else
|
#else
|
||||||
QStringList JavaUtils::FindJavaPath()
|
QStringList JavaUtils::FindJavaPath()
|
||||||
{
|
{
|
||||||
qWarning() << "Unknown operating system build - defaulting to \"java\"";
|
QLOG_INFO() << "Unknown operating system build - defaulting to \"java\"";
|
||||||
|
|
||||||
QStringList paths;
|
QStringList paths;
|
||||||
paths << "java";
|
paths << "java";
|
||||||
|
Loading…
Reference in New Issue
Block a user