mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-08-11 12:15:36 +08:00
combined case-sensitive folders Logging and logging, now we just have logging
This commit is contained in:
@@ -1,20 +0,0 @@
|
||||
#include <QCoreApplication>
|
||||
#include "blackmisc/debug.h"
|
||||
#include "blackmisc/context.h"
|
||||
#include <limits>
|
||||
#include <iostream>
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
QCoreApplication a(argc, argv);
|
||||
BlackMisc::CApplicationContext myApplicationContext;
|
||||
|
||||
BlackMisc::IContext::getInstance().setSingleton(new BlackMisc::CDebug());
|
||||
|
||||
bAppInfo << "This is a Info log message";
|
||||
bAppWarning << "This is a bWarning log message";
|
||||
bAppError << "This is a bError log message";
|
||||
bAppDebug << "This is a bDebug log message";
|
||||
|
||||
return a.exec();
|
||||
}
|
||||
@@ -1,25 +0,0 @@
|
||||
QT += core
|
||||
QT -= gui
|
||||
|
||||
TARGET = sample_logging
|
||||
TEMPLATE = app
|
||||
|
||||
CONFIG += console
|
||||
CONFIG -= app_bundle
|
||||
|
||||
DEPENDPATH += . ../../src
|
||||
INCLUDEPATH += . ../../src
|
||||
|
||||
SOURCES += *.cpp
|
||||
|
||||
win32-msvc* {
|
||||
PRE_TARGETDEPS += ../../lib/blackmisc.lib
|
||||
LIBS += ../../lib/blackmisc.lib
|
||||
}
|
||||
|
||||
!win32-msvc* {
|
||||
PRE_TARGETDEPS += ../../lib/libblackmisc.a
|
||||
LIBS += ../../lib/libblackmisc.a
|
||||
}
|
||||
|
||||
DESTDIR = ../../bin
|
||||
Reference in New Issue
Block a user