Skip to content

The problem of testing with std.log.err #1275

Open

Description

@IntegratedQuantum

Zig's tests always fail when they see a log.err.
This is bad, since we rely on error logs quite a lot to signal errors in addons.
For now I have decided to fix it locally and hope for a better future, this issue is here in case it gets worse.

The only solution I see would be to take over/wrap over std.log in main.zig and replace all use cases of std.log.* with main.log.*

Activity

  1. added
    refactor
    undecided
    on Apr 3, 2025
  2. added this to the Far future milestone on Apr 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    refactorundecided

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions