Hi,
I've tried to change the verbosity level in realtime but it doesn't work and I'm just curious to know if it is something that is possible to do, or it would require some modification to the code. Here's a sample of what I did to try this:
3 static void function_1()
4 {
5 INFO("Hello people!");
6 DBUG("My name is superman");
7 }
8
9 int main(int argc, char* argv[]) {
10
11 LOGOG_INITIALIZE();
12 LOGOG_SET_LEVEL(72);
13
14 logog::Target* logTarget = new logog::Cerr();
15
16 function_1();
17 if(logTarget) delete logTarget;
18
19 LOGOG_SET_LEVEL(99);
20 logTarget = new logog::Cerr();
21
22 function_1();
23 if(logTarget) delete logTarget;
24
25 LOGOG_SHUTDOWN();
26 return 0;
27 }
--
You received this message because you are subscribed to the Google Groups "Logog" group.
To view this discussion on the web visit https://groups.google.com/d/msg/logog/-/hArO7LBz-QkJ.
To post to this group, send email to lo...@googlegroups.com.
To unsubscribe from this group, send email to logog+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/logog?hl=en.