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