The IConnector objects similar strategies also implement the ILogSource interface. Therefore, from the IConnector object you can receive messages through the LogManager by all means that are available for strategies.
As a demonstration selected examples showing work with the Rithmic. All examples log information from the connector to a text file.
First, you need to create a log manager:
private readonly LogManager _logManager = new LogManager();
Then you need to create a file logger, and to add it to the LogManagerListeners:
As a result, the program will display messages as shown below after the start:
18:43:15 | Info | RithmicTrader 18:43:15 | Debug | RithmicTrader | ReadPortfolios() 18:43:15 | Debug | RithmicTrader | OnProcessPortfolios() 18:43:15 | Debug | RithmicTrader | 41469|15152,43|15530,8| 18:43:15 | Debug | RithmicTrader | ReadSecurities() 18:43:15 | Debug | RithmicTrader | OnProcessSecurities 18:43:15 | Debug | RithmicTrader | 291|ESU5|