Skip to content

Logging #535

@august64

Description

@august64

Having proper logging would make things easier for everyone, and I assume most people would agree with that. Telling someone to rerun with WINIT_LOG_LEVEL=debug is much better than saying "rebuild against this branch I made that has some println added that are hopefully relevant", which is something I've had to do a few times now.

Is slog the best way to go about adding logging? I'm also in favor of making the sink global, since passing it around would make this much more tedious to implement.

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