Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FTR: Logging should Work without Console/Terminal Window #1

Open
proof88 opened this issue Oct 29, 2023 · 0 comments
Open

FTR: Logging should Work without Console/Terminal Window #1

proof88 opened this issue Oct 29, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@proof88
Copy link
Owner

proof88 commented Oct 29, 2023

Currently initialization fails if AllocConsole() fails.
This is not good, we should still be able to log to html file:

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant