82 references to MessageLoggingSource
System.ServiceModel (82)
System\ServiceModel\Channels\BinaryMessageEncoder.cs (5)
644
MessageLogger.LogMessage(buffer,
MessageLoggingSource
.Malformed);
680
MessageLogger.LogMessage(ref message,
MessageLoggingSource
.TransportReceive);
718
MessageLogger.LogMessage(ref message,
MessageLoggingSource
.TransportReceive);
806
MessageLogger.LogMessage(ref message, xmlDictionaryReader,
MessageLoggingSource
.TransportSend);
876
MessageLogger.LogMessage(ref message,
MessageLoggingSource
.TransportSend);
System\ServiceModel\Channels\HttpChannelHelpers.cs (5)
374
MessageLogger.LogMessage(ref message,
MessageLoggingSource
.TransportReceive |
MessageLoggingSource
.LastChance);
393
MessageLogger.LogMessage(stream,
MessageLoggingSource
.Malformed);
406
MessageLogger.LogMessage(stream,
MessageLoggingSource
.Malformed);
1857
MessageLogger.LogMessage(ref message,
MessageLoggingSource
.TransportSend);
System\ServiceModel\Channels\Message.cs (1)
1562
MessageLogger.LogMessage(messageData.Buffer,
MessageLoggingSource
.Malformed);
System\ServiceModel\Channels\MtomMessageEncoder.cs (4)
245
MessageLogger.LogMessage(ref message,
MessageLoggingSource
.TransportReceive);
281
MessageLogger.LogMessage(ref message,
MessageLoggingSource
.TransportReceive);
357
MessageLogger.LogMessage(ref message, xmlDictionaryReader,
MessageLoggingSource
.TransportSend);
405
MessageLogger.LogMessage(ref message,
MessageLoggingSource
.TransportSend);
System\ServiceModel\Channels\ServiceChannel.cs (5)
697
MessageLogger.LogMessage(ref rpc.Request, (oneway ?
MessageLoggingSource
.ServiceLevelSendDatagram :
MessageLoggingSource
.ServiceLevelSendRequest) |
MessageLoggingSource
.LastChance);
990
MessageLogger.LogMessage(ref rpc.Reply,
MessageLoggingSource
.ServiceLevelReceiveReply |
MessageLoggingSource
.LastChance);
System\ServiceModel\Channels\TextMessageEncoder.cs (5)
437
MessageLogger.LogMessage(ref message,
MessageLoggingSource
.TransportReceive);
462
MessageLogger.LogMessage(ref message,
MessageLoggingSource
.TransportReceive);
504
MessageLogger.LogMessage(ref message, xmlDictionaryReader,
MessageLoggingSource
.TransportSend);
546
MessageLogger.LogMessage(ref message,
MessageLoggingSource
.TransportSend);
626
MessageLogger.LogMessage(ref message,
MessageLoggingSource
.TransportSend);
System\ServiceModel\Diagnostics\MessageLogger.cs (40)
49
static
MessageLoggingSource
sources = default(
MessageLoggingSource
);
93
get { return (MessageLogger.Sources &
MessageLoggingSource
.Malformed) != 0; }
98
bool shouldProcessAudit = ShouldProcessAudit(
MessageLoggingSource
.Malformed, value);
104
MessageLogger.sources |=
MessageLoggingSource
.Malformed;
109
MessageLogger.sources &=
MessageLoggingSource
.All & ~
MessageLoggingSource
.Malformed;
121
get { return (MessageLogger.Sources &
MessageLoggingSource
.ServiceLevel) != 0; }
126
bool shouldProcessAudit = ShouldProcessAudit(
MessageLoggingSource
.ServiceLevel, value);
132
MessageLogger.sources |=
MessageLoggingSource
.ServiceLevel;
137
MessageLogger.sources &=
MessageLoggingSource
.All & ~
MessageLoggingSource
.ServiceLevel;
149
get { return (MessageLogger.Sources &
MessageLoggingSource
.Transport) != 0; }
154
bool shouldProcessAudit = ShouldProcessAudit(
MessageLoggingSource
.Transport, value);
160
MessageLogger.sources |=
MessageLoggingSource
.Transport;
165
MessageLogger.sources &=
MessageLoggingSource
.All & ~
MessageLoggingSource
.Transport;
187
get { return MessageLogger.Sources != default(
MessageLoggingSource
); }
238
static
MessageLoggingSource
Sources
263
get { return ShouldLogMessages(
MessageLoggingSource
.Malformed); }
266
static bool ShouldLogMessages(
MessageLoggingSource
source)
270
((source &
MessageLoggingSource
.Malformed) != 0 && TD.MessageLogWarningIsEnabled()) ||
274
internal static void LogMessage(
MessageLoggingSource
source, string data)
278
if (ShouldLogMessages(
MessageLoggingSource
.Malformed))
291
internal static void LogMessage(Stream stream,
MessageLoggingSource
source)
309
internal static void LogMessage(ArraySegment<byte> buffer,
MessageLoggingSource
source)
327
internal static void LogMessage(ref Message message, XmlReader reader,
MessageLoggingSource
source)
345
internal static void LogMessage(ref Message message,
MessageLoggingSource
source)
350
static void LogMessageImpl(ref Message message, XmlReader reader,
MessageLoggingSource
source)
357
bool lastChance = (source &
MessageLoggingSource
.LastChance) != 0 || (source &
MessageLoggingSource
.TransportSend) != 0;
358
source &= ~
MessageLoggingSource
.LastChance;
488
static void LogInternal(
MessageLoggingSource
source, object data)
490
if ((source &
MessageLoggingSource
.Malformed) != 0)
517
static bool MatchFilters(Message message,
MessageLoggingSource
source)
520
if (MessageLogger.FilterMessages && (source &
MessageLoggingSource
.Malformed) == 0)
804
static void ThrowIfNotMalformed(
MessageLoggingSource
source)
806
if ((source &
MessageLoggingSource
.Malformed) == 0)
831
static bool ShouldProcessAudit(
MessageLoggingSource
source, bool turningOn)
836
result = MessageLogger.sources ==
MessageLoggingSource
.None;
System\ServiceModel\Diagnostics\MessageLogTraceRecord.cs (7)
43
MessageLoggingSource
source;
46
MessageLogTraceRecord(
MessageLoggingSource
source)
52
internal MessageLogTraceRecord(ArraySegment<byte> buffer,
MessageLoggingSource
source)
59
internal MessageLogTraceRecord(string message,
MessageLoggingSource
source)
66
internal MessageLogTraceRecord(Stream stream,
MessageLoggingSource
source)
100
internal MessageLogTraceRecord(ref Message message, XmlReader reader,
MessageLoggingSource
source, bool logMessageBody)
128
public
MessageLoggingSource
MessageLoggingSource
System\ServiceModel\Diagnostics\TraceUtility.cs (4)
635
MessageLogger.LogMessage(ref message,
MessageLoggingSource
.ServiceLevelReceiveReply |
MessageLoggingSource
.LastChance);
655
MessageLogger.LogMessage(ref message,
MessageLoggingSource
.ServiceLevelSendRequest |
MessageLoggingSource
.LastChance);
System\ServiceModel\Dispatcher\ChannelHandler.cs (3)
438
MessageLogger.LogMessage(ref message, (operation.IsOneWay ?
MessageLoggingSource
.ServiceLevelReceiveDatagram :
MessageLoggingSource
.ServiceLevelReceiveRequest) |
MessageLoggingSource
.LastChance);
System\ServiceModel\Dispatcher\DispatchOperationRuntime.cs (3)
322
MessageLogger.LogMessage(ref rpc.Request,
MessageLoggingSource
.Malformed);
861
MessageLogger.LogMessage(ref reply,
MessageLoggingSource
.ServiceLevelSendReply |
MessageLoggingSource
.LastChance);