#include <random>
#include <catch2/catch_test_macros.hpp>
namespace bux {
namespace user {
std::unique_ptr<C_ParaLog> g_log;
namespace {
thread_local std::mt19937 g_rng{std::random_device{"/dev/urandom"}()};
void reset_log()
{
bux::user::g_log = std::make_unique<bux::C_ParaLog>();
}
void test_test()
{
}
}
TEST_CASE("Empty paralog", "[Z]")
{
reset_log();
REQUIRE_NOTHROW(test_test());
}
@ LL_FATAL
Error serious enough that the program should shut down immediately after reporting this.
#define DEF_LOGGER_TAIL_(x)
#define LOG_RAW(fmtStr,...)
#define LOG(ll, fmtStr,...)
THE common namespace of bux library.