Closed zsogitbe closed 8 months ago
Hi @zsogitbe ,
What's this Callback used for ? I didn't find any code uses it in the project. Can you please point it out ? Thanks.
There is no example in the distribution yet which uses this callback. The callback mechanism is important if you want to allow the use of the library in professional applications. For example, a Windows Forms application could use the library and present the messages with this callback nicely in a text box. Writing in the Console would not work at all in this case. But even in an other type of Console application would this be important where the application would print the messages, for example, on different parts of the screen. Etc.
Replacing Console write with Logger write. The library should not write directly to the Console. Simplification: precompileProgressWriter function is then not needed.