MS
This commit is contained in:
@@ -56,14 +56,14 @@ Public Class ClassLogger
|
||||
If ClassLogger.OpenFile Then
|
||||
Try
|
||||
If ACHTUNG Then
|
||||
ClassLogger.StreamWriter.WriteLine("#ATTENTION# (" & System.DateTime.Now & "): " & information)
|
||||
ClassLogger.StreamWriter.WriteLine(String.Format("{0}: #ATTENTION# : {1}", Now.ToString, information))
|
||||
If clsDatabase.DB_DEFAULT_INITIALIZED = True And USER_GUID > 0 And Essential = True Then
|
||||
ClassHelper.InsertEssential_Log(USER_GUID, "USER-ID", information)
|
||||
Else
|
||||
ClassLogger.StreamWriter.WriteLine(String.Format("{0},{1},{2}", clsDatabase.DB_DEFAULT_INITIALIZED.ToString, USER_GUID.ToString, Essential.ToString))
|
||||
End If
|
||||
Else
|
||||
ClassLogger.StreamWriter.WriteLine(information)
|
||||
ClassLogger.StreamWriter.WriteLine(String.Format("{0}: {1}", Now.ToString, information))
|
||||
End If
|
||||
ClassLogger.CloseFile()
|
||||
Catch e As Exception
|
||||
|
||||
Reference in New Issue
Block a user