Skip to content

Unified Logging #42

@luis-gasparschroeder

Description

@luis-gasparschroeder

Unified Logging

Description

Instead of prints, vCache should follow a unified logging schema.

Requirements

  • Followed coding conventions
  • Implemented or updated tests
  • User should be able to select the logging granularity
  • Update the ReadMe

Impact

  • Who: Users and developer
  • What: Logging
  • Why: Usability and debugging

Proposed Solution

By default, logging is set to the granularity 'errors and warning'. Define an enum that contains the different logging granularity levels. When initializing vCache, the user can select such a granularity level. In the core, vCache should adjust the logging accordingly. The core code should remain clean.

Acceptance Criteria

  • Enum with logging criteria
  • Non-convoluted code
  • Test outputs

Risks & Dependencies

Missed important logs and users might define "important" differently.

Additional Context

--

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions