Open
Description
Currently initialization fails if AllocConsole() fails.
This is not good, we should still be able to log to html file:
- because in final production versions of applications we don't want to open console window anyway by default;
- under Linux AllocConsole() fails anyway, even with Wine!
So, I propose that:
- initialization steps MUST write a few log lines to stdout, so we know if initialization succeeded;
- initialization steps MUST write error to stderr in case of error, so we know about specific failure;
- AllocConsole() MUST NOT fail the initialization of Console library;
- logging to html file MUST still work even without AllocConsole();
- there could be a flag passed in anytime that allows Console lib to log to stdout/stderr also, since there might be cases when logging to file is impossible, for example, when being started on read-only media.