Welcome Guest, you are in: Login
CTS Futures
Home
Pricing
FAQ

T4 Desktop
User Guide
Scripting Guide
Release Notes

Mobile and Web
T4 Mobile
T4 WebTrader

Admins
T4 Admin Guide

Developers
API 4.0 Guide
API 4.0 Reference
FIX API




Search the wiki
»
The API can generate some trace messages. These can be enabled by adding the following switch to the section of you app.config file:

<system.diagnostics>
<switches>
<!-- The level of trace information to be logged.
0 = none
1 = errors
2 = warnings
3 = informational
4 = verbose
-->
<add name="TraceLevelSwitch" value="3" />
</switches>
<trace autoflush="true" indentsize="2">
<listeners>
<add name="ExampleTrace" type="T4.TraceListener.T4TraceListener, T4TraceListener.40" initializeData="T4Example\T4Example, 5" />
<remove name="Default" />
</listeners>
</trace>
</system.diagnostics>

Trace files will be created in the path specified as the first part of ‘initializeData’ field, if only a partial path is entered like shown then this will be created under a trace folder underneath the application folder. A TraceLevelSwitch value of 3 is recommended to be used all the time.

Trade how you want, where you want

support@ctsfutures.com (312) 939 0164

141 W. Jackson Blvd., Suite 211A, Chicago, IL 60604

© 2009-2012 Cunningham Trading Systems Inc. All rights reserved.