10 TEST_CASE(
"Mixed file & console logging",
"[log]" ) {
15 TRACE(
"Filename logging to: " << filename );
size_t count_lines(char const *filename)
TEST_CASE("Mixed file & console logging","[log]")
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)
void log_to_console(rs2_log_severity min_severity)
REQUIRE_NOTHROW(rs2_log(RS2_LOG_SEVERITY_INFO,"Log message using rs2_log()", nullptr))