(new DotNetNuke.Services.Log.EventLog.EventLogController())
.AddLog("Exception", ex.ToString(), DotNetNuke.Entities.Portals.PortalSettings.Current,
-1, DotNetNuke.Services.Log.EventLog.EventLogController.EventLogType.ADMIN_ALERT);
or
catch (Exception ex)
{
DotNetNuke.Services.Exceptions.Exceptions.LogException(ex);
//throw;
}
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment