C# 클래스 Castle.Facilities.WcfIntegration.Behaviors.LogMessageInspector

Message interceptor for logging client requests.
상속: IClientMessageInspector, IDispatchMessageInspector
파일 보기 프로젝트 열기: castleproject/Windsor

공개 메소드들

메소드 설명
AfterReceiveReply ( Message &reply, object correlationState ) : void

Logs the incoming response.

AfterReceiveRequest ( Message &request, IClientChannel channel, System.ServiceModel.InstanceContext instanceContext ) : object

Logs the incoming request.

BeforeSendReply ( Message &reply, object correlationState ) : void

Logs the outgoing response.

BeforeSendRequest ( Message &request, IClientChannel channel ) : object

Logs the outgoing request.

LogMessageInspector ( IExtendedLogger logger, IFormatProvider formatter, string format ) : System

Constructs a new LogMessageInspector

비공개 메소드들

메소드 설명
LogMessageContents ( Message &message ) : void
ObtainCorrelationId ( Message message ) : string

메소드 상세

AfterReceiveReply() 공개 메소드

Logs the incoming response.
public AfterReceiveReply ( Message &reply, object correlationState ) : void
reply Message
correlationState object
리턴 void

AfterReceiveRequest() 공개 메소드

Logs the incoming request.
public AfterReceiveRequest ( Message &request, IClientChannel channel, System.ServiceModel.InstanceContext instanceContext ) : object
request Message
channel IClientChannel
instanceContext System.ServiceModel.InstanceContext
리턴 object

BeforeSendReply() 공개 메소드

Logs the outgoing response.
public BeforeSendReply ( Message &reply, object correlationState ) : void
reply Message
correlationState object
리턴 void

BeforeSendRequest() 공개 메소드

Logs the outgoing request.
public BeforeSendRequest ( Message &request, IClientChannel channel ) : object
request Message
channel IClientChannel
리턴 object

LogMessageInspector() 공개 메소드

Constructs a new LogMessageInspector
public LogMessageInspector ( IExtendedLogger logger, IFormatProvider formatter, string format ) : System
logger IExtendedLogger The logger.
formatter IFormatProvider The formatter.
format string The format.
리턴 System