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 alrafer, Today, 05:39 AM
          0 responses
          1 view
          0 likes
          Last Post alrafer
          by alrafer
           
          Started by varun12343, Today, 03:09 AM
          1 response
          8 views
          0 likes
          Last Post NinjaTrader_Marco  
          Started by Lance El Camino, Yesterday, 04:14 PM
          2 responses
          27 views
          0 likes
          Last Post NT-Roland  
          Started by MatthewLesko, Yesterday, 11:13 PM
          1 response
          15 views
          0 likes
          Last Post NT-Roland  
          Started by kevinenergy, Today, 01:44 AM
          0 responses
          8 views
          0 likes
          Last Post kevinenergy  
          Working...
          X