Skip to content

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

Open
@proof88

Description

@proof88

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions