C# Class WebApiContrib.Tracing.Log4Net.Log4NetTraceWriter

Inheritance: ITraceWriter
ファイルを表示 Open project: WebApiContrib/WebApiContrib.Tracing.Log4Net

Private Properties

Property Type Description
Log void

Public Methods

Method Description
IsEnabled ( string category, TraceLevel level ) : bool
Trace ( HttpRequestMessage request, string category, TraceLevel level, Action traceAction ) : void

Private Methods

Method Description
Log ( System.Web.Http.Tracing.TraceRecord record ) : void

Method Details

IsEnabled() public method

public IsEnabled ( string category, TraceLevel level ) : bool
category string
level TraceLevel
return bool

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