Skip to content

Make console redirection more generic #43

Open
@rpalakkal

Description

Currently https://github.com/axiom-crypto/halo2-browser/blob/f3d696474d4be04809d6e3266c1841d2dc96d6bf/halo2-lib-js/src/shared/log.ts support redirection for log and time/timeEnd manually. Instead we should just take in a "logger" object that implements the console interface and then avoid assigning all the different console functions separately (instead, just override the entire console).

Activity

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

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions