Skip to content
Purview Dev logo

Logging Source Generators

Archived

Early interface-based logging generation (archived).

Archived. This project is no longer actively developed. It has been superseded by Telemetry SourceGenerator .

The problem

The original experiment in interface-based logging generation for .NET. Archived and superseded by the Purview Telemetry SourceGenerator, which generates logging together with Activities and Metrics from the same interfaces.

Why it became a project

This was the original exploration of interface-driven logging generation and established the approach that later grew into the broader Telemetry SourceGenerator.

Where it fits

Use it when

Use it only when maintaining an existing dependency that cannot yet move to its successor.

It may not fit when

For new work, use Telemetry SourceGenerator instead; this project is archived and no longer actively developed.

Use cases

Concrete examples of what Logging Source Generators does, and who each one is for.

Developer

Move to the supported successor

You depend on the original interface-based logging generator and want logging, activities, and metrics generated together.

What you get: Telemetry SourceGenerator generates logging alongside Activities and Metrics from the same interfaces, with DI registration and multi-targeting.

This project is archived and no longer developed; the successor covers a superset of its behaviour from one interface.