Take a look at here for printing at the log: http://www.zorro-trader.com/manual/en/printf.htm