// ------------------------------------------------------------------------- public static void Log(LogTypes logType, int nodeId, string message) { umbraco.BusinessLogic.Log.Add(logType, new User(0), nodeId, "Multiple file upload: " + message); if (logType.Equals(LogTypes.Error) || logType.Equals(LogTypes.LoginFailure)) { throw new ApplicationException(message); } }
// ------------------------------------------------------------------------- public static void Log(LogTypes logType, int nodeId, string message) { umbraco.BusinessLogic.Log.Add(logType, new User(0), nodeId, "Multiple file upload: " + message); if (logType.Equals(LogTypes.Error) || logType.Equals(LogTypes.LoginFailure)) throw new ApplicationException(message); }