/// <summary> /// Interpret a wcc_lite command output string /// </summary> /// <param name="sflag"></param> /// <param name="cmdName"></param> /// <param name="value"></param> private void InterpretLogMessage(SystemLogFlag sflag, ToolFlag tool, string cmdName, string value) { if (tool == ToolFlag.TLF_Radish) { var data = new RADLogMessage { SystemFlag = sflag, CommandName = cmdName, Tool = tool }; InterpretRADMessage(ref data, value); if (data.Flag != LogFlag.WLF_Info) { ExtendedLog.Add(data); } } else { var data = new WCCLogMessage { SystemFlag = sflag, CommandName = cmdName, Tool = tool }; InterpretWCCMessage(ref data, value); if (data.Flag != LogFlag.WLF_Info) { ExtendedLog.Add(data); } } }
/// <summary> /// Log an Interpretable LogMessage /// </summary> public void LogExtended(SystemLogFlag sflag, ToolFlag tool, string cmdName, string value) { if (sflag == SystemLogFlag.SLF_Interpretable) { InterpretLogMessage(sflag, tool, cmdName, value); } }