mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-08-11 04:05:38 +08:00
#31 Squashed merge of commits relating to the plugin system and IContext redesign, from the 'interconnect' branch.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
#include <QCoreApplication>
|
||||
#include "blackmisc/debug.h"
|
||||
#include "blackmisc/context.h"
|
||||
#include "blackcore/constants.h"
|
||||
#include <limits>
|
||||
#include <iostream>
|
||||
@@ -9,10 +10,12 @@ int main(int argc, char *argv[])
|
||||
QCoreApplication a(argc, argv);
|
||||
BlackMisc::CApplicationContext myApplicationContext;
|
||||
|
||||
bInfo << "This is a Info log message";
|
||||
bWarning << "This is a bWarning log message";
|
||||
bError << "This is a bError log message";
|
||||
bDebug << "This is a bDebug log message";
|
||||
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