MCPcopy Create free account
hub / github.com/davisking/dlib / test

Class test

examples/logger_ex_2.cpp:49–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47logger logc("example.test_class");
48
49class test
50{
51public:
52 test ()
53 {
54 // this message won't get logged because LINFO is too low
55 logc << LINFO << "constructed a test object";
56 }
57
58 ~test ()
59 {
60 // this message won't get logged because LINFO is too low
61 logc << LINFO << "destructed a test object";
62 }
63
64 void warning ()
65 {
66 logc << LWARN << "warning! someone called warning()!";
67 }
68};
69
70void thread (void*)
71{

Callers 6

mainFunction · 0.70
mainFunction · 0.70
mainFunction · 0.70
mainFunction · 0.70
mainFunction · 0.70
mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected