Remove ClassLogger and replace with Logging Module
This commit is contained in:
@@ -20,12 +20,9 @@ Public Class ClassEmail
|
||||
My.Computer.Clock.LocalTime.ToLongTimeString & "</font>")
|
||||
If test = False Then
|
||||
If Log = True Then
|
||||
' create and add the attachment(s) */
|
||||
If ClassLogger.logDateiname.Contains("\\") Then
|
||||
ClassLogger.logDateiname = ClassLogger.logDateiname.Replace("\\", "\")
|
||||
End If
|
||||
If IO.File.Exists(ClassLogger.logDateiname) Then
|
||||
Dim Attachment As Attachment = New Attachment(ClassLogger.logDateiname)
|
||||
' create and add the attachment(s) */
|
||||
If IO.File.Exists(LOGCONFIG.LogFile) Then
|
||||
Dim Attachment As Attachment = New Attachment(LOGCONFIG.LogFile)
|
||||
message.Attachments.Add(Attachment)
|
||||
End If
|
||||
End If
|
||||
|
||||
Reference in New Issue
Block a user