1 instantiation of NetEventSource
System.Net.Mail (1)
src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (1)
38
public static readonly NetEventSource Log = new
NetEventSource
();
20 references to NetEventSource
System.Net.Mail (20)
src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (1)
38
public static readonly
NetEventSource
Log = new NetEventSource();
System\Net\Mail\MailMessage.cs (4)
41
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Associate(this, _message);
50
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Associate(this, _message);
System\Net\Mail\MailPriority.cs (4)
196
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Associate(this, _headers);
222
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Associate(this, _envelopeHeaders);
System\Net\Mail\SmtpClient.cs (9)
94
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Associate(this, _transport);
362
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(this, $"{nameof(pickupDirectory)}={pickupDirectory}");
418
if (
NetEventSource
.Log.IsEnabled())
420
NetEventSource
.Info(this, $"DeliveryMethod={DeliveryMethod}");
421
NetEventSource
.Associate(this, message);
539
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Error(this, e);
System\Net\Mail\SmtpTransport.cs (2)
101
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Associate(this, _connection);