custom_fmt_dest.cpp Example

This example shows you how easy it is to add your custom formatter /destination classes.

This usage:



Custom classes:



Optimizations:



The output will look similar to this one:

The console and the debug window will be the same:

+6s [1] this is so cool 1
+6s [2] this is so cool again 2
+7s [3] hello, world
+7s [4] good to be back ;) 3

The out.txt file will look like this:

<msg>+6s [1] this is so cool 1
</msg>
<msg>+6s [2] this is so cool again 2
</msg>
<msg>+7s [3] hello, world
</msg>
<msg>+7s [4] good to be back ;) 3
</msg>


Copyright John Torjo © 2007
Have a question/ suggestion/ comment? Send me feedback