diff --git a/samples/Logging/CMakeLists.txt b/samples/Logging/CMakeLists.txt deleted file mode 100644 index ca4e75148..000000000 --- a/samples/Logging/CMakeLists.txt +++ /dev/null @@ -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") \ No newline at end of file diff --git a/samples/logging/main.cpp b/samples/logging/main.cpp deleted file mode 100644 index 1ad1a607a..000000000 --- a/samples/logging/main.cpp +++ /dev/null @@ -1,20 +0,0 @@ -#include -#include "blackmisc/debug.h" -#include "blackmisc/context.h" -#include -#include - -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(); -}