mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-05-02 23:35:40 +08:00
Remove Logging samples dir, will be added manually from repo again to avoid this capital letter directory feedback
This commit is contained in:
@@ -1,6 +0,0 @@
|
|||||||
FILE(GLOB SRC *.cpp)
|
|
||||||
|
|
||||||
ADD_EXECUTABLE(sample_logging ${SRC})
|
|
||||||
|
|
||||||
TARGET_LINK_LIBRARIES(sample_logging blackmisc ${QT_LIBRARIES})
|
|
||||||
SET_TARGET_PROPERTIES(sample_logging PROPERTIES PROJECT_LABEL "Samples - Logging")
|
|
||||||
@@ -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();
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user