Tracing can be enabled using below line:
public static void Register(HttpConfiguration config)
{
config.EnableSystemDiagnosticsTracing();
}
But if you want to write your own tracer, you can inherit ITraceWriter and provide your implementation.
Tracing can be enabled using below line:
public static void Register(HttpConfiguration config)
{
config.EnableSystemDiagnosticsTracing();
}
But if you want to write your own tracer, you can inherit ITraceWriter and provide your implementation.
in “Register” method of WebAPIConfig.cs place the code file.config.EnableSystemDiagnosticsTracing();