Skip to content

Logging #234

@lanesawyer

Description

@lanesawyer

Is your feature request related to a problem? Please describe.
We have a logger in vis-core that we should start using it more substantially through our packages.

Describe the solution you'd like
Ideally we place them in a lot of places to help debug issues in a live environment. That will take some deciding on when to use the different levels and where.

Describe alternatives you've considered
We can continue to not log much and debug things as we currently do.

Additional context
One problem to solve is that vis-geometry does not depend on vis-core so adding logs there would require pulling that in, which we don't really want to have to do. I'm sure there's ways to set it up so that we only call the logger if the vis-core package is a peerDependency though!

It's possible that we don't really need logging in vis-geometry since it's all mostly very straightforward math though.

Metadata

Metadata

Assignees

No one assigned

    Labels

    javascriptPull requests that update javascript code

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions