Web forum is in read-only mode. Login as active registered customer for write access
  Forum Search   New Posts New Posts

Choose the OutputHandler

 Post Reply Post Reply
Author
dehorter olivier View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 Aug 2010
Posts: 101
Post Options Post Options   Quote dehorter olivier Quote  Post ReplyReply Direct Link To This Post Topic: Choose the OutputHandler
    Posted: 25 Jun 2018 at 1:26pm
Hi

In on project, I define several Output Handlers :
            TMSLogger.RegisterOutputHandlerClass(TTMSLoggerHTMLOutputHandler,
              [Rep_Temporaire + '_Logger.html', '_Logger.js']);
            TMSLogger.RegisterOutputHandlerClass(TTMSLoggerCSVOutputHandler, [Rep_Temporaire + '_Logger.csv', '|']);
            TMSLogger.RegisterOutputHandlerClass(TTMSLoggerTextOutputHandler, [Rep_Temporaire + '_Logger.txt']);

But sometimes I should prefer to include/exclude one of them.
For instance, just send the message to the "TextOutputHandler" only, there is a way to do that ?

regards
olivier

Back to Top
dehorter olivier View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 Aug 2010
Posts: 101
Post Options Post Options   Quote dehorter olivier Quote  Post ReplyReply Direct Link To This Post Posted: 10 Jul 2018 at 3:08pm
not possible ?
Back to Top
Pieter Scheldeman View Drop Down
TMS Support
TMS Support
Avatar

Joined: 18 May 2010
Posts: 3025
Post Options Post Options   Quote Pieter Scheldeman Quote  Post ReplyReply Direct Link To This Post Posted: 10 Jul 2018 at 3:20pm
Hi, 

Simply use te UnRegisterOutputHandler call.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down