13 char filename1[L_tmpnam], filename2[L_tmpnam];
17 TRACE(
"Filename1 logging to: " << filename1 );
18 TRACE(
"Filename2 logging to: " << filename2 );
size_t count_lines(char const *filename)
static void flushAll(void)
Flushes all loggers for all levels - Be careful if you dont know how many loggers are registered...
void log_to_file(rs2_log_severity min_severity, const char *file_path=nullptr)
REQUIRE_NOTHROW(rs2_log(RS2_LOG_SEVERITY_INFO,"Log message using rs2_log()", nullptr))
TEST_CASE("Double file logging","[log]")