37 int main(
int argc,
char *argv[])
41 std::string string_test(
"string test");
42 std::vector<int> int_vector_test;
43 std::vector<float> real_vector_test;
44 CLog main_log(
"log_test");
47 main_log.log(string_test);
49 main_log.log(int_test);
51 main_log.log(real_test);
53 int_vector_test.push_back(1);
54 int_vector_test.push_back(2);
55 int_vector_test.push_back(3);
56 int_vector_test.push_back(4);
57 int_vector_test.push_back(5);
58 main_log.log_vector(int_vector_test);
60 real_vector_test.push_back(1.1);
61 real_vector_test.push_back(2.2);
62 real_vector_test.push_back(3.3);
63 real_vector_test.push_back(4.4);
64 real_vector_test.push_back(5.5);
65 real_vector_test.push_back(6.6);
66 main_log.log_vector(real_vector_test);
Implementation of a log file.