From 1ced40260dd75ce37be39e9c63592f3effaeb320 Mon Sep 17 00:00:00 2001 From: Charl Wentzel Date: Wed, 15 Jun 2016 12:03:15 +0200 Subject: [PATCH] Minor Update: - Added Output on Function Output events --- SelectableCore.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/SelectableCore.cpp b/SelectableCore.cpp index 7426e58..0043910 100644 --- a/SelectableCore.cpp +++ b/SelectableCore.cpp @@ -896,6 +896,8 @@ bool CSelectableCore::ProcessBuffer( THandle * Handle, bool Force ) LocalIO = Handle->LocalIO; } if (LocalIO) { + ShowOutput( DebugLevel, dlHigh, OutputDisplay, Data, Len, "%s: LocalIO '%s' - OUT:", Name, LocalIO->Name ); + Output = LocalIO->FirstOutput; while (Output) { Output->Function->Input( Output->IOName, Data, Len ); @@ -922,6 +924,8 @@ bool CSelectableCore::ProcessBuffer( THandle * Handle, bool Force ) LocalIO = Handle->LocalIO; } if (LocalIO) { + ShowOutput( DebugLevel, dlHigh, OutputDisplay, Data, Len, "%s: LocalIO '%s' - OUT:", Name, LocalIO->Name ); + Output = LocalIO->FirstOutput; while (Output) { Output->Function->Input( Output->IOName, Data, Len ); @@ -1019,7 +1023,7 @@ int CSelectableCore::Input( const char * IOName, const char * Data, int Len ) } // Log event - ShowOutput( DebugLevel, dlHigh, OutputDisplay, Data, Len, "%s: LocalIO '%s' - IN:", Name, IOName ); + ShowOutput( DebugLevel, dlHigh, OutputDisplay, Data, Len, "%s: Local IO '%s' - IN:", Name, IOName ); if (Handle->Type == ctServer) {