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.
    BertrandNinjaTrader Customer Service

    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
          BertrandNinjaTrader Customer Service

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by AaronKoRn, Today, 06:28 AM
          0 responses
          3 views
          0 likes
          Last Post AaronKoRn  
          Started by pjsmith, Today, 01:00 AM
          1 response
          12 views
          0 likes
          Last Post NT-Roland  
          Started by alejandro888, Yesterday, 08:41 PM
          0 responses
          9 views
          0 likes
          Last Post alejandro888  
          Started by UltraNIX, Today, 02:14 AM
          0 responses
          9 views
          0 likes
          Last Post UltraNIX  
          Started by augustfay, Yesterday, 12:06 PM
          1 response
          13 views
          0 likes
          Last Post NinjaTrader_Jason  
          Working...
          X