010-68421378
sales@cogitosoft.com
Categories
AddFlow  AmCharts JavaScript Stock Chart AmCharts 4: Charts Aspose.Total for Java Altova SchemaAgent Altova DatabaseSpy Altova MobileTogether Altova UModel  Altova MapForce Altova StyleVision Server Altova MapForce Server Altova Authentic Aspose.Total for .NET Altova RaptorXML Server ComponentOne Ultimate Chart FX for SharePoint Chart FX CodeCharge Studio ComponentOne Enterprise combit Report Server Combit List & Label 22 Controls for Visual C++ MFC Chart Pro for Visual C ++ MFC DbVisualizer version 12.1 DemoCharge DXperience Subscription .NET DevExpress Universal Subscription Essential Studio for ASP.NET MVC FusionCharts Suite XT FusionCharts for Flex  FusionExport V2.0 GrapeCity TX Text Control .NET for WPF GrapeCity Spread Studio Highcharts Gantt Highcharts 10.0 版 HelpNDoc Infragistics Ultimate  ImageKit9 ActiveX ImageKit.NET JetBrains--Fleet JetBrains-DataSpell JetBrains--DataGrip jQuery EasyUI jChart FX Plus Nevron Vision for .NET OPC DA .NET Server Toolkit  OSS ASN.1/C Oxygen XML Author  OSS 4G NAS/C, C++ Encoder Decoder Library OSS ASN.1 Tools for C with 4G S1/X2 OSS ASN.1/C# OSS ASN.1/JAVA OSS ASN.1/C++ OPC HDA .NET Server Toolkit OPC DA .Net Client Development Component PowerBuilder redgate NET Developer Bundle Report Control for Visual C++ MFC  Altova StyleVision Sencha Test Stimulsoft Reports.PHP Stimulsoft Reports.JS Stimulsoft Reports.Java Stimulsoft Reports. Ultimate Stimulsoft Reports.Wpf Stimulsoft Reports.Silverlight SPC Control Chart Tools for .Net SlickEdit Source Insight Software Verify .Net Coverage Validator Toolkit Pro for VisualC++MFC TeeChart .NET Telerik DevCraft Complete Altova XMLSpy Zend Server

PostSharp Diagnostics

PostSharp Diagnostics

 

Log your C# code without cluttering your codebase.

  • Add logging to thousands of methods within minutes.
  • Works with 10+ popular .NET logging frameworks.
  • Faster than hand-written code.
  • Measure execution time and get performance warnings.
  • Highly customizable.

 

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

 

  • Target thousands of methods with a single line of code.
  • Filter based on the name or namespace using wildcards or regular expressions.
  • Filter based on the type or method visibility or another qualifier.
  • Create more complex filters with System.Reflection.
  • Remove from release builds with #if DEBUG.

 

 

Super Detailed

You can choose to include the following pieces of data into your logs:

  • Full method and type name
  • Parameter name, type and value
  • this value
  • Execution time
  • Async state machine id
  • Field changes
  • Source code file name and line number
  • Works on any method – not just public ones

 

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:

  • Log4Net
  • NLog
  • Common.Logging
  • Serilog
  • EventSource (ETW)
  • System.Diagnostics
  • Console.WriteLine
  • Microsoft.Extensions.Logging (.NET Core)
  • Enterprise Library
  • Application Insights
  • Loupe
  • Any other framework (custom back-end)

 

Quick Navigation;

© Copyright 2000-2023  COGITO SOFTWARE CO.,LTD. All rights reserved