Logging
TT logs messages for your application and stores them in the '\Users\ <user>\Documents\TradingTechnologies\Logs\ <application name>' directory.
You can log to this file as well using the singleton Logger class provided.
tt_net_sdk.util.Logger log = tt_net_sdk.util.Logger.Instance;
TT also provides several methods for logging messages of various severities.
// For logging informational messages
public void Info(string logMessage);
public void Info(object logMessage);
// For logging debug messages
public void Debug(string logMessage);
// For logging warning messages
public void Warning(string logMessage);
// For logging error messages
public void Error(string logMessage);
// For logging critical messages
public void Critical(string logMessage);
// For logging exception messages
public void LogException(Exception exception);