16 for (
int i = 0;
i < 15000; ++
i)
33 auto old_size = old_file.tellg();
34 auto max_size_in_bytes = max_size * 1024 * 1024;
35 auto size = log_size + old_size;
void log(rs2_log_severity severity, const char *message)
GLsizei const GLchar *const * string
static const char * log_filename
void log_to_file(rs2_log_severity min_severity, const char *file_path=nullptr)
const GLuint GLenum const void * binary
void enable_rolling_log_file(unsigned max_size)
REQUIRE_NOTHROW(rs2_log(RS2_LOG_SEVERITY_INFO,"Log message using rs2_log()", nullptr))
TEST_CASE("ROLLING C++ LOGGER","[log]")
std::string to_string(T value)