Debugging output

Created at 13 Jun 2013, 20:44
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
IA

ianj

Joined 14.05.2013

Debugging output
13 Jun 2013, 20:44


I tried using Console.WriteLine for debug output but dont know where to look for it ?

Ultimately i would like to use log4net (apache) but it requires that i place the log4net dll somewhere it can be found by the compiler and the runtime - where would that be?

Do you have any excamples showing how to access and run with such DLL's

If not, what is your recommendation for debug output 

 


@ianj
Replies

Kate
13 Jun 2013, 22:59

You can use Print() method:

protected override void OnTick()
{
    Print("Ask: {0}, Bid: {1}", Symbol.Ask, Symbol.Bid);
}


And then see Log tab in cAlgo (bellow the chart).


@Kate