diff --git a/CMakeLists.txt b/CMakeLists.txt index 17a68a6..4dece3f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -47,7 +47,7 @@ include(cmake/fetch_content.cmake) # in code coverage computation as they are test programs themselves. set(EXTRA_COVERAGE_EXCLUSION "\'${CMAKE_CURRENT_SOURCE_DIR}/integration/*\'") -project(bofstd VERSION 5.7.0.2) +project(bofstd VERSION 5.7.0.3) if (EMSCRIPTEN) message("Force pthread detection for BofStd compilation under EMSCRIPTEN") diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt index 1f714ad..4d7c057 100644 --- a/lib/CMakeLists.txt +++ b/lib/CMakeLists.txt @@ -171,7 +171,7 @@ set(LOG_FILES include/bofstd/boflogsink_spdlog.h src/boflogsink_spdlog.cpp include/bofstd/ibofloggerfactory.h - include/bofstd/basic_loggerfactory.h + include/bofstd/bofbasicloggerfactory.h include/bofstd/boflogger.h src/boflogger.cpp ) diff --git a/lib/include/bofstd/basic_loggerfactory.h b/lib/include/bofstd/bofbasicloggerfactory.h similarity index 95% rename from lib/include/bofstd/basic_loggerfactory.h rename to lib/include/bofstd/bofbasicloggerfactory.h index f8ce871..97c835f 100644 --- a/lib/include/bofstd/basic_loggerfactory.h +++ b/lib/include/bofstd/bofbasicloggerfactory.h @@ -98,13 +98,13 @@ class BasicLogger : public BOF::IBofLogger FILE *mpLogFile_X = nullptr; }; -class BasicLoggerFactory : public BOF::IBofLoggerFactory +class BofBasicLoggerFactory : public BOF::IBofLoggerFactory { public: - BasicLoggerFactory(bool _OutputOnScreen_B, const std::string &_rLogFileSubDir_S) : mOutputOnScreen_B(_OutputOnScreen_B), mLogFileSubDir_S(_rLogFileSubDir_S) + BofBasicLoggerFactory(bool _OutputOnScreen_B, const std::string &_rLogFileSubDir_S) : mOutputOnScreen_B(_OutputOnScreen_B), mLogFileSubDir_S(_rLogFileSubDir_S) { } - virtual ~BasicLoggerFactory() = default; + virtual ~BofBasicLoggerFactory() = default; std::string BuildChannelName(const std::string &_rLibNamePrefix_S, const std::string &_rLoggerChannelName_S) { diff --git a/tests/src/ut_logger.cpp b/tests/src/ut_logger.cpp index 0e3ffe4..67c6e9e 100644 --- a/tests/src/ut_logger.cpp +++ b/tests/src/ut_logger.cpp @@ -27,7 +27,7 @@ #include #include #include -#include +#include #include "gtestrunner.h" @@ -334,7 +334,7 @@ void MyLibCode(bool _NullTestCase_B) TEST(ut_logger_ibofloggerfactory, MultipleChannel) { - std::shared_ptr psLoggerFactory = std::make_shared(true, "."); + std::shared_ptr psLoggerFactory = std::make_shared(true, "."); MyLibInit(psLoggerFactory); EXPECT_TRUE(S_psLoggerCollection[UT_LOGGER_CHANNEL::UT_LOGGER_CHANNEL_INIT] != nullptr); EXPECT_TRUE(S_psLoggerCollection[UT_LOGGER_CHANNEL::UT_LOGGER_CHANNEL_CODEC] != nullptr); diff --git a/vcpkg.json b/vcpkg.json index dbee881..bc3249f 100644 --- a/vcpkg.json +++ b/vcpkg.json @@ -1,6 +1,6 @@ { "name": "bofstd", - "version": "5.7.0.2", + "version": "5.7.0.3", "description": "The onbings general purpose C++ Multiplatform library", "dependencies": [ {