improve logging
This commit is contained in:
parent
0f867b5400
commit
81b7f47d3d
@ -85,7 +85,7 @@ Public Class ClassDataASorDB
|
|||||||
HotkeySearchKey = oResult
|
HotkeySearchKey = oResult
|
||||||
HotkeySearchKey_via_Server = True
|
HotkeySearchKey_via_Server = True
|
||||||
Catch ex As Exception
|
Catch ex As Exception
|
||||||
HotkeySearchKey = "d"
|
HotkeySearchKey_via_Server = "d"
|
||||||
End Try
|
End Try
|
||||||
|
|
||||||
Else
|
Else
|
||||||
|
|||||||
@ -224,20 +224,26 @@ Public Class frmMain
|
|||||||
If MONITORING_ACTIVE = True Then
|
If MONITORING_ACTIVE = True Then
|
||||||
If CURRENT_MATCHING_PROFILES.Count = 0 Then
|
If CURRENT_MATCHING_PROFILES.Count = 0 Then
|
||||||
Logger.Info("ReceiveHotKey - No profiles matched the Clipboard-Content!")
|
Logger.Info("ReceiveHotKey - No profiles matched the Clipboard-Content!")
|
||||||
|
Logger.Info("NOMATCH_INFO = {0}", NOMATCH_INFO)
|
||||||
If NOMATCH_INFO = False Then
|
If NOMATCH_INFO = False Then
|
||||||
NotifyIconMain.BalloonTipTitle = "Clipboard Watcher"
|
NotifyIconMain.BalloonTipTitle = "Clipboard Watcher"
|
||||||
NotifyIconMain.BalloonTipText = "Es wurden keine passenden Profile gefunden."
|
NotifyIconMain.BalloonTipText = "Es wurden keine passenden Profile gefunden."
|
||||||
NotifyIconMain.BalloonTipIcon = ToolTipIcon.Warning
|
NotifyIconMain.BalloonTipIcon = ToolTipIcon.Warning
|
||||||
NotifyIconMain.ShowBalloonTip(2500)
|
NotifyIconMain.ShowBalloonTip(2500)+
|
||||||
|
Else
|
||||||
|
Logger.Info("Popup will not be shown. NOMATCH_INFO Is True.")
|
||||||
End If
|
End If
|
||||||
|
|
||||||
ElseIf CURRENT_PROFILES_WITH_RESULTS.Count = 0 Then
|
ElseIf CURRENT_PROFILES_WITH_RESULTS.Count = 0 Then
|
||||||
Logger.Info("ReceiveHotKey - No documents or data found for Clipboard-Content!")
|
Logger.Info("ReceiveHotKey - No documents or data found for Clipboard-Content!")
|
||||||
|
Logger.Info("NOMATCH_INFO = {0}", NOMATCH_INFO)
|
||||||
If NOMATCH_INFO = False Then
|
If NOMATCH_INFO = False Then
|
||||||
NotifyIconMain.BalloonTipTitle = "Clipboard Watcher"
|
NotifyIconMain.BalloonTipTitle = "Clipboard Watcher"
|
||||||
NotifyIconMain.BalloonTipText = "Es wurden weder Dokumente noch Daten gefunden!"
|
NotifyIconMain.BalloonTipText = "Es wurden weder Dokumente noch Daten gefunden!"
|
||||||
NotifyIconMain.BalloonTipIcon = ToolTipIcon.Warning
|
NotifyIconMain.BalloonTipIcon = ToolTipIcon.Warning
|
||||||
NotifyIconMain.ShowBalloonTip(2500)
|
NotifyIconMain.ShowBalloonTip(2500)
|
||||||
|
Else
|
||||||
|
Logger.Info("Popup will not be shown. NOMATCH_INFO Is True.")
|
||||||
End If
|
End If
|
||||||
|
|
||||||
Else
|
Else
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user