Skip to content

[Essentials] Add logging #31495

@morning4coffe-dev

Description

@morning4coffe-dev

Description

In many places within the Essentials codebase, logging is currently handled using Debug.WriteLine. While this provides basic output, it lacks the flexibility and structure needed for modern diagnostics and telemetry.

There are also several TODO comments referencing the future use of a proper logging mechanism.

This proposal suggests replacing or augmenting existing Debug.WriteLine calls with a structured logging approach using ILogger.

Public API Changes

TBD

Intended Use-Case

This would allow developers to:

  • Filter logs by severity
  • Integrate with external logging providers (e.g., App Center, Azure Monitor)
  • Enable better diagnostics across platforms

This change would improve maintainability, observability, and consistency across the Essentials library.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions