public void LogException(Exception exception, LoggerConstants.Info code) { this.infoMessage = exception.ToString(); logger.Error(" InfoCode:" + code + " Message :" + infoMessage); }
public void LogDebug(string infoMsg, LoggerConstants.Info code) { this.infoMessage = infoMsg; logger.Debug(" InfoCode:" + code + " Message :" + infoMessage); }