private void AddSaveOpenFile(IMessageLog obj, string message, string name, string comment) { Console.WriteLine(); obj.AddMessage(message); obj.AddComment(message, name, comment); obj.OutputToFile(); Console.WriteLine("Log saved to file"); }
private void AddSaveOpenFile(IMessageLog obj, string message, string name, string comment) { Console.WriteLine(); obj.AddMessage(message); obj.AddComment(message, name, comment); obj.OutputToFile(); Console.WriteLine("Log saved to file"); }