private void InitializeLogger() { // // Define the message group displayed in this logger // LogMessageType[] msgs = new LogMessageType[] { LogMessageType.Debug, LogMessageType.Production, LogMessageType.SecurityError, LogMessageType.SystemError }; SystemLogForm = new LogOutputForm(msgs.ToList(), "System Log"); SystemLogForm.Show(); }
private void InitializeLogger() { if (tradeLogOutputForm != null && !tradeLogOutputForm.IsDisposed) { tradeLogOutputForm.Show(); return; } LogMessageType[] msgs = new LogMessageType[] { LogMessageType.TradingError, LogMessageType.TradingNotification, LogMessageType.TradingSystemMessage, LogMessageType.TradeWarning }; tradeLogOutputForm = new LogOutputForm(msgs.ToList(), "Trading Log"); tradeLogOutputForm.Show(); }