- 2026-04-10 1.1.12 Se corrige tsNotificacionesClient
This commit is contained in:
@@ -71,9 +71,7 @@ Public Class TsNotificacionesClient
|
||||
' ============================================================
|
||||
If EsWindows Then
|
||||
' --- WINDOWS: Event Viewer ---
|
||||
If Not EventLog.SourceExists(Origen) Then
|
||||
EventLog.CreateEventSource(Origen, Aplicacion)
|
||||
End If
|
||||
|
||||
|
||||
Dim ele As EventLogEntryType
|
||||
Select Case TipoNotificacion
|
||||
@@ -85,7 +83,7 @@ Public Class TsNotificacionesClient
|
||||
ele = EventLogEntryType.Error
|
||||
End Select
|
||||
|
||||
EventLog.WriteEntry(Origen, $"{titulo} {descripcion}", ele)
|
||||
EventLog.WriteEntry(".NET Runtime", $"{Origen} {Aplicacion} {titulo} {descripcion}", ele, 1000)
|
||||
|
||||
Else
|
||||
' --- LINUX: ILogger → journald ---
|
||||
|
||||
Reference in New Issue
Block a user