public void ToAdmin(Message message, SessionID sessionID) { _log.WriteInfo("FixClient", "ToAdmin", ""); if (message is Logon logon) { logon.Password = new Password(Environment.GetEnvironmentVariable("FIXWrongPassword") ?? Const.Password); } }
public void ToAdmin(Message message, SessionID sessionID) { _log.WriteInfo("FixClient", "ToAdmin", ""); if (message is Logon logon) { logon.Password = new Password(Const.Password); } }
public async Task WriteInfo(string component, string process, string context, string info, DateTime?dateTime = null) { await _consoleLog.WriteInfo(component, process, context, info); await _tableLog.WriteInfo(component, process, context, info); }