Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Redirect Print output to my logger

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Redirect Print output to my logger

    Hi All,

    I was wondering if anyone knows how to make this:
    I want to redirect all output of "Print" function including internal trace messages that NT sends on its own to my logger.
    I am using log4net for logging and ideally I would like to see all messages in there. Anyone have any ideas ? Like override Print function or anything else in C# internals ? I am a beginner in C# just yet.

    Thank you.

    #2
    dimkdimk, unfortunately this is not supported.

    Comment


      #3
      Originally posted by NinjaTrader_Bertrand View Post
      dimkdimk, unfortunately this is not supported.
      I was expecting this answer. I understand.

      Just a question. Can you please open to me how to find this member from the script:
      NinjaTrader.Cbi.LogEventCollection

      At least I can get new events from this collection and put them into my Logger.
      This not formal request for support. Just a hint will do.

      Comment


        #4
        Hello,

        I will have someone reply to you on Monday. Thank you for your patience.
        DenNinjaTrader Customer Service

        Comment


          #5
          I would suggest you check into this sample here then - http://www.ninjatrader-support2.com/...ead.php?t=9825

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by CaptainJack, 05-29-2026, 05:09 AM
          0 responses
          230 views
          0 likes
          Last Post CaptainJack  
          Started by CaptainJack, 05-29-2026, 12:02 AM
          0 responses
          149 views
          0 likes
          Last Post CaptainJack  
          Started by charlesugo_1, 05-26-2026, 05:03 PM
          0 responses
          161 views
          1 like
          Last Post charlesugo_1  
          Started by DannyP96, 05-18-2026, 02:38 PM
          1 response
          243 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by CarlTrading, 05-11-2026, 05:56 AM
          0 responses
          198 views
          0 likes
          Last Post CarlTrading  
          Working...
          X