Skip to content

Commit

Permalink
5.7.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
bha-evs committed Jul 11, 2024
1 parent 26e7973 commit 6ca532e
Show file tree
Hide file tree
Showing 6 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.1)
project(bofstd VERSION 5.7.0.2)

if (EMSCRIPTEN)
message("Force pthread detection for BofStd compilation under EMSCRIPTEN")
Expand Down
2 changes: 1 addition & 1 deletion lib/include/bofstd/basic_loggerfactory.h
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ class BasicLogger : public BOF::IBofLogger
FILE *mpLogFile_X = nullptr;
};

class BasicLoggerFactory : public BOF::ILoggerFactory
class BasicLoggerFactory : public BOF::IBofLoggerFactory
{
public:
BasicLoggerFactory(bool _OutputOnScreen_B, const std::string &_rLogFileSubDir_S) : mOutputOnScreen_B(_OutputOnScreen_B), mLogFileSubDir_S(_rLogFileSubDir_S)
Expand Down
6 changes: 3 additions & 3 deletions lib/include/bofstd/ibofloggerfactory.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,11 @@ class IBofLogger
LogSeverity mLogSeverityLevel_E = LogSeverity::LOG_SEVERITY_MAX;
};

class ILoggerFactory
class IBofLoggerFactory
{
public:
ILoggerFactory() = default;
virtual ~ILoggerFactory() = default;
IBofLoggerFactory() = default;
virtual ~IBofLoggerFactory() = default;
virtual std::shared_ptr<BOF::IBofLogger> V_Create(const std::string &_rLibNamePrefix_S, const std::string &_rLoggerChannelName_S) = 0;
virtual std::shared_ptr<BOF::IBofLogger> V_GetLogger(const std::string &_rLibNamePrefix_S, const std::string &_rLoggerChannelName_S) = 0;
virtual bool V_Destroy(const std::string &_rLibNamePrefix_S, const std::string &_rLoggerChannelName_S) = 0;
Expand Down
2 changes: 1 addition & 1 deletion tests/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ int main(int argc, char *argv[])
//::testing::GTEST_FLAG(filter) = "JsonParser_Test.*:XmlWriter_Test.*";
//::testing::GTEST_FLAG(filter) = "System_Test.Exec";
//::testing::GTEST_FLAG(filter) = "Threading_Test.MultiThreadWithoutMutex";
// ::testing::GTEST_FLAG(filter) = "Threading_Test.SharedMemory";
// ::testing::GTEST_FLAG(filter) = "ut_logger_ibofloggerfactory.*";
//::testing::GTEST_FLAG(filter) = "RawCircularBuffer_Test.FillWrapOverwrite";
//::testing::GTEST_FLAG(filter) = "RawCircularBuffer_Test.*:CircularBuffer_Test.*:RawCircularBufferInSlotMode_Test.*";
//::testing::GTEST_FLAG(filter) = "BofThreadPool_Test.*:BofThread_Test.*";
Expand Down
2 changes: 1 addition & 1 deletion tests/src/ut_logger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ enum UT_LOGGER_CHANNEL : uint32_t
};
static std::array<std::shared_ptr<BOF::IBofLogger>, UT_LOGGER_CHANNEL::UT_LOGGER_CHANNEL_MAX> S_psLoggerCollection;

void MyLibInit(std::shared_ptr<BOF::ILoggerFactory> _psLoggerFactory)
void MyLibInit(std::shared_ptr<BOF::IBofLoggerFactory> _psLoggerFactory)
{
for (auto &rpsLogger : S_psLoggerCollection)
{
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.1",
"version": "5.7.0.2",
"description": "The onbings general purpose C++ Multiplatform library",
"dependencies": [
{
Expand Down

0 comments on commit 6ca532e

Please sign in to comment.