Skip to content

Commit

Permalink
Started Catalyst Manager logging API
Browse files Browse the repository at this point in the history
  • Loading branch information
tjotaha committed Oct 3, 2023
1 parent 85831e6 commit fce758c
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,11 @@

namespace Iocatalyst {

CatalystManager::CatalystManager() {}
CatalystManager::CatalystManager() {}

CatalystManager::~CatalystManager() {}
CatalystManager::~CatalystManager() {}

}
void CatalystManager::writeToCatalystLogFile(const Ioss::ParallelUtils &putils,
const Ioss::PropertyManager &props) {}

} // namespace Iocatalyst
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
#define IOSS_IOVS_CATALYST_MANAGER_H

#include "iocatalyst_export.h"
#include <Ioss_ParallelUtils.h>

namespace Iocatalyst {

Expand All @@ -20,6 +21,9 @@ namespace Iocatalyst {
return instance;
}

void writeToCatalystLogFile(const Ioss::ParallelUtils &putils,
const Ioss::PropertyManager &props);

private:
CatalystManager();
~CatalystManager();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,12 @@
#include <catalyst_tests/Iocatalyst_DatabaseIOTest.h>
#include <catalyst_tests/Iocatalyst_LoggingTest.h>
#include <catalyst/Iocatalyst_CatalystManager.h>
#include <Ioss_ParallelUtils.h>

TEST_F(LoggingTest, LoggingDefault)
{
Iocatalyst::CatalystManager::getInstance();
Ioss::ParallelUtils putils;
Iocatalyst::CatalystManager::getInstance().writeToCatalystLogFile(putils, props);

//log.setProperties(&props);
//writeToCatalystLogFile(const DatabaseInfo &dbinfo, const Ioss::PropertyManager &props)
Expand Down

0 comments on commit fce758c

Please sign in to comment.