Class EventLogController
Inheritance
EventLogController
Assembly: DotNetNuke.dll
Syntax
[Obsolete("Deprecated in DotNetNuke 9.8.1. Use dependency injection to resolve IEventLogger, IEventLogService or IEventLogConfigService instead. Scheduled for removal in v11.0.0.")]
public class EventLogController : ServiceLocator<IEventLogController, EventLogController>, IEventLogController, ILogController, IEventLogger, IEventLogConfigService, IEventLogService
Constructors
EventLogController()
Declaration
public EventLogController()
Methods
AddLog(IPortalSettings, int, EventLogType)
Declaration
[Obsolete("Deprecated in DotNetNuke 9.8.0. Use Dependency Injection to resolve 'DotNetNuke.Abstractions.Logging.IEventLogger' instead. Scheduled for removal in v11.0.0.")]
public void AddLog(IPortalSettings portalSettings, int userID, EventLogController.EventLogType logType)
Parameters
AddLog(PortalSettings, int, EventLogType)
Declaration
[Obsolete("Deprecated in DotNetNuke 9.7.0. It has been replaced by the overload taking IPortalSettings. Scheduled for removal in v11.0.0.")]
public void AddLog(PortalSettings portalSettings, int userID, EventLogController.EventLogType logType)
Parameters
AddLog(LogInfo)
Declaration
[Obsolete("Deprecated in DotNetNuke 9.8.0. Use Dependency Injection to resolve 'DotNetNuke.Abstractions.Logging.IEventLogger' instead. Scheduled for removal in v11.0.0.")]
public void AddLog(LogInfo logInfo)
Parameters
Type |
Name |
Description |
LogInfo |
logInfo |
|
AddLog(LogProperties, IPortalSettings, int, string, bool)
Declaration
[Obsolete("Deprecated in DotNetNuke 9.8.0. Use Dependency Injection to resolve 'DotNetNuke.Abstractions.Logging.IEventLogger' instead. Scheduled for removal in v11.0.0.")]
public void AddLog(LogProperties properties, IPortalSettings portalSettings, int userID, string logTypeKey, bool bypassBuffering)
Parameters
AddLog(LogProperties, PortalSettings, int, string, bool)
Declaration
[Obsolete("Deprecated in DotNetNuke 9.7.0. It has been replaced by the overload taking IPortalSettings. Scheduled for removal in v11.0.0.")]
public void AddLog(LogProperties properties, PortalSettings portalSettings, int userID, string logTypeKey, bool bypassBuffering)
Parameters
AddLog(object, IPortalSettings, int, string, EventLogType)
Declaration
[Obsolete("Deprecated in DotNetNuke 9.8.0. Use Dependency Injection to resolve 'DotNetNuke.Abstractions.Logging.IEventLogger' instead. Scheduled for removal in v11.0.0.")]
public void AddLog(object businessObject, IPortalSettings portalSettings, int userID, string userName, EventLogController.EventLogType logType)
Parameters
AddLog(object, IPortalSettings, int, string, string)
Declaration
[Obsolete("Deprecated in DotNetNuke 9.8.0. Use Dependency Injection to resolve 'DotNetNuke.Abstractions.Logging.IEventLogger' instead. Scheduled for removal in v11.0.0.")]
public void AddLog(object businessObject, IPortalSettings portalSettings, int userID, string userName, string logType)
Parameters
AddLog(object, PortalSettings, int, string, EventLogType)
Declaration
[Obsolete("Deprecated in DotNetNuke 9.7.0. It has been replaced by the overload taking IPortalSettings. Scheduled for removal in v11.0.0.")]
public void AddLog(object businessObject, PortalSettings portalSettings, int userID, string userName, EventLogController.EventLogType logType)
Parameters
AddLog(object, PortalSettings, int, string, string)
Declaration
[Obsolete("Deprecated in DotNetNuke 9.7.0. It has been replaced by the overload taking IPortalSettings. Scheduled for removal in v11.0.0.")]
public void AddLog(object businessObject, PortalSettings portalSettings, int userID, string userName, string logType)
Parameters
AddLog(string, string, IPortalSettings, int, EventLogType)
Declaration
[Obsolete("Deprecated in DotNetNuke 9.8.0. Use Dependency Injection to resolve 'DotNetNuke.Abstractions.Logging.IEventLogger' instead. Scheduled for removal in v11.0.0.")]
public void AddLog(string propertyName, string propertyValue, IPortalSettings portalSettings, int userID, EventLogController.EventLogType logType)
Parameters
AddLog(string, string, IPortalSettings, int, string)
Declaration
[Obsolete("Deprecated in DotNetNuke 9.8.0. Use Dependency Injection to resolve 'DotNetNuke.Abstractions.Logging.IEventLogger' instead. Scheduled for removal in v11.0.0.")]
public void AddLog(string propertyName, string propertyValue, IPortalSettings portalSettings, int userID, string logType)
Parameters
AddLog(string, string, PortalSettings, int, EventLogType)
Declaration
[Obsolete("Deprecated in DotNetNuke 9.7.0. It has been replaced by the overload taking IPortalSettings. Scheduled for removal in v11.0.0.")]
public void AddLog(string propertyName, string propertyValue, PortalSettings portalSettings, int userID, EventLogController.EventLogType logType)
Parameters
AddLog(string, string, PortalSettings, int, string)
Declaration
[Obsolete("Deprecated in DotNetNuke 9.7.0. It has been replaced by the overload taking IPortalSettings. Scheduled for removal in v11.0.0.")]
public void AddLog(string propertyName, string propertyValue, PortalSettings portalSettings, int userID, string logType)
Parameters
AddLog(string, string, EventLogType)
Declaration
[Obsolete("Deprecated in DotNetNuke 9.8.0. Use Dependency Injection to resolve 'DotNetNuke.Abstractions.Logging.IEventLogger' instead. Scheduled for removal in v11.0.0.")]
public void AddLog(string propertyName, string propertyValue, EventLogController.EventLogType logType)
Parameters
AddLogType(LogTypeInfo)
Declaration
[Obsolete("Deprecated in DotNetNuke 9.8.0. Use Dependency Injection to resolve 'DotNetNuke.Abstractions.Logging.IEventLogConfigService' instead. Scheduled for removal in v11.0.0.")]
public void AddLogType(LogTypeInfo logType)
Parameters
AddLogType(string, string)
Declaration
[Obsolete("Deprecated in DotNetNuke 9.8.0. Use Dependency Injection to resolve 'DotNetNuke.Abstractions.Logging.IEventLogConfigService' instead. Scheduled for removal in v11.0.0.")]
public void AddLogType(string configFile, string fallbackConfigFile)
Parameters
Type |
Name |
Description |
string |
configFile |
|
string |
fallbackConfigFile |
|
AddLogTypeConfigInfo(LogTypeConfigInfo)
Declaration
[Obsolete("Deprecated in DotNetNuke 9.8.0. Use Dependency Injection to resolve 'DotNetNuke.Abstractions.Logging.IEventLogConfigService' instead. Scheduled for removal in v11.0.0.")]
public void AddLogTypeConfigInfo(LogTypeConfigInfo logTypeConfig)
Parameters
AddSettingLog(EventLogType, string, int, string, string, int)
Declaration
[Obsolete("Deprecated in DotNetNuke 9.8.0. Use Dependency Injection to resolve 'DotNetNuke.Abstractions.Logging.IEventLogger' instead. Scheduled for removal in v11.0.0.")]
public static void AddSettingLog(EventLogController.EventLogType logTypeKey, string idFieldName, int idValue, string settingName, string settingValue, int userId)
Parameters
ClearLog()
Declaration
[Obsolete("Deprecated in DotNetNuke 9.8.0. Use Dependency Injection to resolve 'DotNetNuke.Abstractions.Logging.IEventLogService' instead. Scheduled for removal in v11.0.0.")]
public void ClearLog()
DeleteLog(LogInfo)
Declaration
[Obsolete("Deprecated in DotNetNuke 9.8.0. Use Dependency Injection to resolve 'DotNetNuke.Abstractions.Logging.IEventLogService' instead. Scheduled for removal in v11.0.0.")]
public void DeleteLog(LogInfo logInfo)
Parameters
Type |
Name |
Description |
LogInfo |
logInfo |
|
DeleteLogType(LogTypeInfo)
Declaration
[Obsolete("Deprecated in DotNetNuke 9.8.0. Use Dependency Injection to resolve 'DotNetNuke.Abstractions.Logging.IEventLogConfigService' instead. Scheduled for removal in v11.0.0.")]
public void DeleteLogType(LogTypeInfo logType)
Parameters
DeleteLogTypeConfigInfo(LogTypeConfigInfo)
Declaration
[Obsolete("Deprecated in DotNetNuke 9.8.0. Use Dependency Injection to resolve 'DotNetNuke.Abstractions.Logging.IEventLogConfigService' instead. Scheduled for removal in v11.0.0.")]
public void DeleteLogTypeConfigInfo(LogTypeConfigInfo logTypeConfig)
Parameters
GetFactory()
Declaration
[Obsolete("Deprecated in DotNetNuke 9.8.0. Use Dependency Injection to resolve 'DotNetNuke.Abstractions.Logging.IEventLogger' instead. Scheduled for removal in v11.0.0.")]
protected override Func<IEventLogController> GetFactory()
Returns
Overrides
GetLog(string)
Declaration
public ILogInfo GetLog(string logGuid)
Parameters
Type |
Name |
Description |
string |
logGuid |
|
Returns
GetLogTypeConfigInfo()
Declaration
[Obsolete("Deprecated in DotNetNuke 9.8.0. Use Dependency Injection to resolve 'DotNetNuke.Abstractions.Logging.IEventLogConfigService' instead. Scheduled for removal in v11.0.0.")]
public ArrayList GetLogTypeConfigInfo()
Returns
GetLogTypeConfigInfoByID(string)
Declaration
[Obsolete("Deprecated in DotNetNuke 9.8.0. Use Dependency Injection to resolve 'DotNetNuke.Abstractions.Logging.IEventLogConfigService' instead. Scheduled for removal in v11.0.0.")]
public LogTypeConfigInfo GetLogTypeConfigInfoByID(string id)
Parameters
Type |
Name |
Description |
string |
id |
|
Returns
GetLogTypeInfoDictionary()
Declaration
[Obsolete("Deprecated in DotNetNuke 9.8.0. Use Dependency Injection to resolve 'DotNetNuke.Abstractions.Logging.IEventLogConfigService' instead. Scheduled for removal in v11.0.0.")]
public Dictionary<string, LogTypeInfo> GetLogTypeInfoDictionary()
Returns
GetLogs(int, string, int, int, ref int)
Declaration
[Obsolete("Deprecated in DotNetNuke 9.8.0. Use Dependency Injection to resolve 'DotNetNuke.Abstractions.Logging.IEventLogService' instead. Scheduled for removal in v11.0.0.")]
public List<LogInfo> GetLogs(int portalID, string logType, int pageSize, int pageIndex, ref int totalRecords)
Parameters
Type |
Name |
Description |
int |
portalID |
|
string |
logType |
|
int |
pageSize |
|
int |
pageIndex |
|
int |
totalRecords |
|
Returns
GetSingleLog(LogInfo, ReturnType)
Declaration
[Obsolete("Deprecated in DotNetNuke 9.8.0. Use Dependency Injection to resolve 'DotNetNuke.Abstractions.Logging.IEventLogService.GetLog()' instead. Scheduled for removal in v11.0.0.")]
public object GetSingleLog(LogInfo log, LoggingProvider.ReturnType returnType)
Parameters
Returns
PurgeLogBuffer()
Declaration
[Obsolete("Deprecated in DotNetNuke 9.8.0. Use Dependency Injection to resolve 'DotNetNuke.Abstractions.Logging.IEventLogService' instead. Scheduled for removal in v11.0.0.")]
public void PurgeLogBuffer()
UpdateLogType(LogTypeInfo)
Declaration
[Obsolete("Deprecated in DotNetNuke 9.8.0. Use Dependency Injection to resolve 'DotNetNuke.Abstractions.Logging.IEventLogConfigService' instead. Scheduled for removal in v11.0.0.")]
public virtual void UpdateLogType(LogTypeInfo logType)
Parameters
UpdateLogTypeConfigInfo(LogTypeConfigInfo)
Declaration
[Obsolete("Deprecated in DotNetNuke 9.8.0. Use Dependency Injection to resolve 'DotNetNuke.Abstractions.Logging.IEventLogConfigService' instead. Scheduled for removal in v11.0.0.")]
public virtual void UpdateLogTypeConfigInfo(LogTypeConfigInfo logTypeConfig)
Parameters
Implements
Extension Methods