dotnet-source-gen-logging
CommunityFast, AOT-ready logging with LoggerMessage.
AuthorIm5tu
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Converts inline ILogger usage into LoggerMessage-based extensions to reduce allocations and enable compile-time template parsing for high-performance logging.
Core Features & Use Cases
- Convert inline LogInformation and other Log methods to generated LoggerMessage methods for major performance gains.
- Organize log messages by domain into partial static classes with EventIds for traceability.
- Prepare code for Native AOT deployments and consistent logging templates across projects.
Quick Start
Convert a typical logging call to a generated LoggerMessage method and switch to the corresponding extension method. Example: _logger.LogInformation("User {UserId} logged in", userId) -> _logger.UserLoggedIn(userId).
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: dotnet-source-gen-logging Download link: https://github.com/Im5tu/claude/archive/main.zip#dotnet-source-gen-logging Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.