41 references to MessageLogger
System.ServiceModel.Primitives (41)
System\ServiceModel\Channels\BinaryMessageEncoder.cs (9)
538
MessageLogger
.LogMessage(buffer, MessageLoggingSource.Malformed);
564
if (
MessageLogger
.LogMessagesAtTransportLevel)
566
MessageLogger
.LogMessage(ref message, MessageLoggingSource.TransportReceive);
602
if (
MessageLogger
.LogMessagesAtTransportLevel)
604
MessageLogger
.LogMessage(ref message, MessageLoggingSource.TransportReceive);
674
if (
MessageLogger
.LogMessagesAtTransportLevel && !_readerSessionForLoggingIsInvalid)
691
MessageLogger
.LogMessage(ref message, xmlDictionaryReader, MessageLoggingSource.TransportSend);
759
if (
MessageLogger
.LogMessagesAtTransportLevel)
761
MessageLogger
.LogMessage(ref message, MessageLoggingSource.TransportSend);
System\ServiceModel\Channels\Message.cs (2)
1624
if (throwing &&
MessageLogger
.LoggingEnabled)
1626
MessageLogger
.LogMessage(messageData.Buffer, MessageLoggingSource.Malformed);
System\ServiceModel\Channels\MtomMessageEncoder.cs (8)
383
if (
MessageLogger
.LogMessagesAtTransportLevel)
384
MessageLogger
.LogMessage(ref message, MessageLoggingSource.TransportReceive);
419
if (
MessageLogger
.LogMessagesAtTransportLevel)
420
MessageLogger
.LogMessage(ref message, MessageLoggingSource.TransportReceive);
495
if (
MessageLogger
.LogMessagesAtTransportLevel)
502
MessageLogger
.LogMessage(ref message, xmlDictionaryReader, MessageLoggingSource.TransportSend);
561
if (
MessageLogger
.LogMessagesAtTransportLevel)
562
MessageLogger
.LogMessage(ref message, MessageLoggingSource.TransportSend);
System\ServiceModel\Channels\ServiceChannel.cs (4)
633
if (
MessageLogger
.LogMessagesAtServiceLevel)
635
MessageLogger
.LogMessage(ref rpc.Request, (oneway ? MessageLoggingSource.ServiceLevelSendDatagram : MessageLoggingSource.ServiceLevelSendRequest) | MessageLoggingSource.LastChance);
926
if (
MessageLogger
.LogMessagesAtServiceLevel)
928
MessageLogger
.LogMessage(ref rpc.Reply, MessageLoggingSource.ServiceLevelReceiveReply | MessageLoggingSource.LastChance);
System\ServiceModel\Channels\TextMessageEncoder.cs (8)
436
if (
MessageLogger
.LogMessagesAtTransportLevel)
438
MessageLogger
.LogMessage(ref message, MessageLoggingSource.TransportReceive);
465
if (
MessageLogger
.LogMessagesAtTransportLevel)
467
MessageLogger
.LogMessage(ref message, MessageLoggingSource.TransportReceive);
538
if (
MessageLogger
.LogMessagesAtTransportLevel)
541
MessageLogger
.LogMessage(ref message, xmlDictionaryReader, MessageLoggingSource.TransportSend);
595
if (
MessageLogger
.LogMessagesAtTransportLevel)
597
MessageLogger
.LogMessage(ref message, MessageLoggingSource.TransportSend);
System\ServiceModel\Diagnostics\TraceUtility.cs (4)
223
if (
MessageLogger
.LogMessagesAtServiceLevel)
225
MessageLogger
.LogMessage(ref message, MessageLoggingSource.ServiceLevelReceiveReply | MessageLoggingSource.LastChance);
243
if (
MessageLogger
.LogMessagesAtServiceLevel)
245
MessageLogger
.LogMessage(ref message, MessageLoggingSource.ServiceLevelSendRequest | MessageLoggingSource.LastChance);
System\ServiceModel\Dispatcher\ChannelHandler.cs (2)
263
if (
MessageLogger
.LoggingEnabled)
265
MessageLogger
.LogMessage(ref message, (operation.IsOneWay ? MessageLoggingSource.ServiceLevelReceiveDatagram : MessageLoggingSource.ServiceLevelReceiveRequest) | MessageLoggingSource.LastChance);
System\ServiceModel\Dispatcher\DispatchOperationRuntime.cs (4)
115
if (!success &&
MessageLogger
.LoggingEnabled)
117
MessageLogger
.LogMessage(ref rpc.Request, MessageLoggingSource.Malformed);
309
if (
MessageLogger
.LoggingEnabled && null != reply)
311
MessageLogger
.LogMessage(ref reply, MessageLoggingSource.ServiceLevelSendReply | MessageLoggingSource.LastChance);