public void WriteError(string errorMsg) { LogParameters log = new LogParameters(LogParameters.LogType.Error, errorMsg); _errorCollectionList.Add(log); }
public void WriteWarning(string warningMsg) { LogParameters log = new LogParameters(LogParameters.LogType.Warning, warningMsg); _errorCollectionList.Add(log); }
//Just callthese methods to log something public void WriteInfo(string infoMsg) { LogParameters log = new LogParameters(LogParameters.LogType.Info, infoMsg); _errorCollectionList.Add(log); }