PostSharp Diagnostics
Log your C# code without cluttering your codebase.
Comprehensive logs for your C#/VB code
Performance First
Faster than hand-written code – Code instrumented with PostSharp is typically faster than code instrumented by hand. We've benchmarked.
Enable/disable at run time – Logging can be turned on and off dynamically at run time using a simple API. When logging is disabled, the cost overhead is as low as 0 thanks to the JIT compiler optimizations.
GC-friendly – PostSharp does not allocate memory unless your logging framework requires it. For instance, with ETW, strictly no managed memory is allocated.
No impact on source code
Super Detailed
You can choose to include the following pieces of data into your logs:
Highly Customizable
Parameter Formatters – Customize how parameter values are rendered, even with external types.
Enable/Disable Features – Most features can be enabled or disabled manually so you only get what you actually need. Don't need parameter names? No problem.
Override Anything – You can replace almost any formatting logic with your own.
Custom Logging Framework – You can build an adapter for any VB/C# logging framework, including semantic ones.
Logging Frameworks
PostSharp provides out-of-the-box integration with the following .NET logging frameworks:
© Copyright 2000-2023 COGITO SOFTWARE CO.,LTD. All rights reserved