MCPcopy Create free account
hub / github.com/Geode-solutions/OpenGeode / test

Function test

tests/basic/test-logger.cpp:122–136  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120 }
121
122 void test()
123 {
124 geode::OpenGeodeBasicLibrary::initialize();
125 geode::LoggerManager::register_client(
126 std::make_unique< CustomClient >() );
127 geode::LoggerManager::register_client(
128 std::make_unique< geode::FileLoggerClient >( "geode.log" ) );
129
130 test_logger();
131 const auto &huge_msg = test_huge_message();
132 test_change_log_file( huge_msg );
133
134 geode::Logger::set_level( geode::Logger::LEVEL::err );
135 test_logger();
136 }
137} // namespace
138OPENGEODE_TEST( "logger" )

Callers

nothing calls this directly

Calls 4

initializeFunction · 0.85
test_loggerFunction · 0.85
test_huge_messageFunction · 0.85
test_change_log_fileFunction · 0.85

Tested by

no test coverage detected