What is IL weaving?

IL weaving rewrites assemblies at the IL instruction level—typically after Roslyn compiles C# but before runtime JIT. ArgusLogs uses this to inject logging aspects without source generators in every method.

How ArgusLogs uses weaving

The argus-weaver MSBuild tool runs after compile (ArgusLogs.DataAnnotation). [LogMethod] and related aspects inject entry/exit, parameters, and exception handling. Conceptual page: this Learn article. Reference: /docs/configuration. Hands-on: /tutorial/core/intro. Marketing flow: /how-it-works.