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 cmoran13, 04-16-2026, 01:02 PM
          0 responses
          43 views
          0 likes
          Last Post cmoran13  
          Started by PaulMohn, 04-10-2026, 11:11 AM
          0 responses
          25 views
          0 likes
          Last Post PaulMohn  
          Started by CarlTrading, 03-31-2026, 09:41 PM
          1 response
          162 views
          1 like
          Last Post NinjaTrader_ChelseaB  
          Started by CarlTrading, 04-01-2026, 02:41 AM
          0 responses
          98 views
          1 like
          Last Post CarlTrading  
          Started by CaptainJack, 03-31-2026, 11:44 PM
          0 responses
          158 views
          2 likes
          Last Post CaptainJack  
          Working...
          X