14 references to Log
System.Net.Mail (14)
src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.Associate.cs (1)
30Log.Associate(IdOf(thisOrContextObject), memberName, IdOf(first), IdOf(second));
src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (4)
67Log.Info(IdOf(thisOrContextObject), memberName, formattableString != null ? Format(formattableString) : NoParameters); 75Log.Info(IdOf(thisOrContextObject), memberName, Format(message)); 92Log.ErrorMessage(IdOf(thisOrContextObject), memberName, Format(formattableString)); 100Log.ErrorMessage(IdOf(thisOrContextObject), memberName, Format(message));
System\Net\Mail\MailMessage.cs (2)
41if (NetEventSource.Log.IsEnabled()) NetEventSource.Associate(this, _message); 50if (NetEventSource.Log.IsEnabled()) NetEventSource.Associate(this, _message);
System\Net\Mail\MailPriority.cs (2)
196if (NetEventSource.Log.IsEnabled()) NetEventSource.Associate(this, _headers); 222if (NetEventSource.Log.IsEnabled()) NetEventSource.Associate(this, _envelopeHeaders);
System\Net\Mail\SmtpClient.cs (4)
94if (NetEventSource.Log.IsEnabled()) NetEventSource.Associate(this, _transport); 362if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"{nameof(pickupDirectory)}={pickupDirectory}"); 418if (NetEventSource.Log.IsEnabled()) 539if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, e);
System\Net\Mail\SmtpTransport.cs (1)
101if (NetEventSource.Log.IsEnabled()) NetEventSource.Associate(this, _connection);