public static void Error(string logType, string message, Exception e) { logger.Error(message, e); InvestDAO.WriteLog("Error", logType, message + e.StackTrace); }
public static void DebugFormat(string logType, string messageFormat, params object[] args) { logger.Debug(string.Format(messageFormat, args)); InvestDAO.WriteLog("Debug", logType, string.Format(messageFormat, args)); }
public static void Debug(string logType, string message) { logger.Debug(message); InvestDAO.WriteLog("Debug", logType, message); }