Skip to content

Commit

Permalink
5.7.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
bha-evs committed Jul 11, 2024
1 parent 6ca532e commit 7737d57
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
2 changes: 1 addition & 1 deletion lib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down
4 changes: 2 additions & 2 deletions tests/src/ut_logger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
#include <bofstd/boflogchannel_spdlog.h>
#include <bofstd/boflogger.h>
#include <bofstd/ibofloggerfactory.h>
#include <bofstd/basic_loggerfactory.h>
#include <bofstd/bofbasicloggerfactory.h>

#include "gtestrunner.h"

Expand Down Expand Up @@ -334,7 +334,7 @@ void MyLibCode(bool _NullTestCase_B)

TEST(ut_logger_ibofloggerfactory, MultipleChannel)
{
std::shared_ptr<BOF::BasicLoggerFactory> psLoggerFactory = std::make_shared<BOF::BasicLoggerFactory>(true, ".");
std::shared_ptr<BOF::BofBasicLoggerFactory> psLoggerFactory = std::make_shared<BOF::BofBasicLoggerFactory>(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);
Expand Down
2 changes: 1 addition & 1 deletion vcpkg.json
Original file line number Diff line number Diff line change
@@ -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": [
{
Expand Down

0 comments on commit 7737d57

Please sign in to comment.