Files
DPM_PADM/DPM2016_20240227/Utils/clsLog.vb
Stefan Hutter 733b7f9c81 Update 20240227
2024-02-27 20:38:55 +01:00

15 lines
329 B
VB.net

Public Class clsLog
Dim db As New clsDB
Public Enum Logtype
Information = 0
Wartning = 1
ApplError = 2
End Enum
Public Function Writelog(ByVal entry As String, ByVal Ltype As Logtype)
If Ltype >= My.Settings.LogLevel Then db.WriteLog(entry, Ltype)
End Function
End Class