Forwarding ReceivedOutputInformation

Hello TMS Team,


I want to centralize the logging of my services and applications using the tcp logging server. 

In the "TMSLoggerTCPServerReceivedOutputInformation" event of the TCP LoggingServer I receive the type of TTMSLoggerOutputInformation. 
Is it possible to forward the TTMSLoggerOutputInformation received on the TCP Logging Server directly to an other OutputHandler, e.g. Browser?

Hi,


Each OutputHandler has a protected method


procedure Log(const AOutputInformation: TTMSLoggerOutputInformation);


You can try by using a protected class wrapper to call the method and pass the outputinformation directly:


type
  TTMSLoggerOutputHandlerOpen = class(TTMSLoggerOutputHandler);
...
TTMSLoggerOutputHandlerOpen(MyOutputHandler).Log(info);

Perfect!

Great Work!

Many Thanks