Skip to content

Improve logging #140

@neophob

Description

@neophob

In my PR @freezy add a comment:

I usually try to prefix logs with where it occurs: [Myclass.myMethod]: My message

Make sense - why not improve the whole logger, some ideas:

  • create a instance with its class name as prefix
  • use debug - dynamic enable debug logging for certain classes might help
  • future improvements, when public - send error logs to log aggregator to get realtime feedback

Metadata

Metadata

Assignees

No one assigned

    Labels

    boringSome VP internals that need to be ported (or not)enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions