1 instantiation of NetEventSource
System.Net.Mail (1)
src\runtime\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\runtime\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)
193
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Associate(this, _headers);
219
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Associate(this, _envelopeHeaders);
System\Net\Mail\SmtpClient.cs (9)
95
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Associate(this, _transport);
397
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Info(this, $"{nameof(pickupDirectory)}={pickupDirectory}");
453
if (
NetEventSource
.Log.IsEnabled())
455
NetEventSource
.Info(this, $"DeliveryMethod={DeliveryMethod}");
456
NetEventSource
.Associate(this, message);
574
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Error(this, e);
System\Net\Mail\SmtpTransport.cs (2)
121
if (
NetEventSource
.Log.IsEnabled())
NetEventSource
.Associate(this, _connection);