Optimizations:
Logs:
Here's how the output will look like:
The debug output window:
07:52.30 [dbg] this is so cool 1 07:52.30 [dbg] this is so cool again 2
The console:
07:52.30 [app] hello, world 07:52.30 [app] good to be back ;) 4
The out.txt file:
07:52.30 [dbg] this is so cool 1 07:52.30 [dbg] this is so cool again 2 07:52.30 [app] hello, world 07:52.30 [app] good to be back ;) 4
The err.txt file
07:52.30 [1] first error 3 07:52.30 [2] second error 5