C# Class WebApiContrib.Tracing.Slab.SlabTraceWriter

Inheritance: ITraceWriter
Mostrar archivo Open project: WebApiContrib/WebApiContrib.Tracing.Slab

Public Methods

Method Description
SlabTraceWriter ( ) : System
SlabTraceWriter ( Dictionary exectueLogDict ) : System

An event src can be used from your project if you require special EventId etc...

Trace ( HttpRequestMessage request, string category, TraceLevel level, Action traceAction ) : void

Private Methods

Method Description
AddRecordDataToMessage ( System.Web.Http.Tracing.TraceRecord record, StringBuilder message ) : void
AddRequestDataToMessage ( System.Web.Http.Tracing.TraceRecord record, StringBuilder message ) : void
LogToSlab ( System.Web.Http.Tracing.TraceRecord record ) : void

Method Details

SlabTraceWriter() public method

public SlabTraceWriter ( ) : System
return System

SlabTraceWriter() public method

An event src can be used from your project if you require special EventId etc...
public SlabTraceWriter ( Dictionary exectueLogDict ) : System
exectueLogDict Dictionary
return System

Trace() public method

public Trace ( HttpRequestMessage request, string category, TraceLevel level, Action traceAction ) : void
request System.Net.Http.HttpRequestMessage
category string
level TraceLevel
traceAction Action
return void