8 TEST_CASE(
"Logging to two callbacks",
"[log]" ) {
10 size_t n_callbacks_1 = 0;
14 TRACE( severity <<
' ' << msg.filename() <<
'+' << msg.line_number() <<
": " << msg.raw() );
16 size_t n_callbacks_2 = 0;
20 TRACE( severity <<
' ' << msg.filename() <<
'+' << msg.line_number() <<
": " << msg.raw() );
GLenum GLuint GLenum severity
void log_to_callback(rs2_log_severity min_severity, S callback)
TEST_CASE("Logging to two callbacks","[log]")
REQUIRE_NOTHROW(rs2_log(RS2_LOG_SEVERITY_INFO,"Log message using rs2_log()", nullptr))
rs2_log_severity
Severity of the librealsense logger.