• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Improve this Doc

Class EventLogController

Provides a readily testable way to manage a Singleton.

Inheritance
System.Object
ServiceLocator<IEventLogController, EventLogController>
EventLogController
Implements
IEventLogController
ILogController
IEventLogConfigService
IEventLogService
IEventLogger
Inherited Members
ServiceLocator<IEventLogController, EventLogController>.Instance
ServiceLocator<IEventLogController, EventLogController>.Factory
ServiceLocator<IEventLogController, EventLogController>.SetTestableInstance(IEventLogController)
ServiceLocator<IEventLogController, EventLogController>.ClearInstance()
ServiceLocator<IEventLogController, EventLogController>.GetFactory()
Namespace: DotNetNuke.Services.Log.EventLog
Assembly: DotNetNuke.dll
Syntax
public class EventLogController : ServiceLocator<IEventLogController, EventLogController>, IEventLogController, ILogController, IEventLogConfigService, IEventLogService, IEventLogger

Methods

| Improve this Doc View Source

AddLog(IPortalSettings, Int32, EventLogController.EventLogType)

Provides a readily testable way to manage a Singleton.

Declaration
public void AddLog(IPortalSettings portalSettings, int userID, EventLogController.EventLogType logType)
Parameters
Type Name Description
IPortalSettings portalSettings
System.Int32 userID
EventLogController.EventLogType logType
| Improve this Doc View Source

AddLog(PortalSettings, Int32, EventLogController.EventLogType)

Provides a readily testable way to manage a Singleton.

Declaration
public void AddLog(PortalSettings portalSettings, int userID, EventLogController.EventLogType logType)
Parameters
Type Name Description
PortalSettings portalSettings
System.Int32 userID
EventLogController.EventLogType logType
| Improve this Doc View Source

AddLog(LogInfo)

Provides a readily testable way to manage a Singleton.

Declaration
public void AddLog(LogInfo logInfo)
Parameters
Type Name Description
LogInfo logInfo
| Improve this Doc View Source

AddLog(LogProperties, IPortalSettings, Int32, String, Boolean)

Provides a readily testable way to manage a Singleton.

Declaration
public void AddLog(LogProperties properties, IPortalSettings portalSettings, int userID, string logTypeKey, bool bypassBuffering)
Parameters
Type Name Description
LogProperties properties
IPortalSettings portalSettings
System.Int32 userID
System.String logTypeKey
System.Boolean bypassBuffering
| Improve this Doc View Source

AddLog(LogProperties, PortalSettings, Int32, String, Boolean)

Provides a readily testable way to manage a Singleton.

Declaration
public void AddLog(LogProperties properties, PortalSettings portalSettings, int userID, string logTypeKey, bool bypassBuffering)
Parameters
Type Name Description
LogProperties properties
PortalSettings portalSettings
System.Int32 userID
System.String logTypeKey
System.Boolean bypassBuffering
| Improve this Doc View Source

AddLog(Object, IPortalSettings, Int32, String, EventLogController.EventLogType)

Provides a readily testable way to manage a Singleton.

Declaration
public void AddLog(object businessObject, IPortalSettings portalSettings, int userID, string userName, EventLogController.EventLogType logType)
Parameters
Type Name Description
System.Object businessObject
IPortalSettings portalSettings
System.Int32 userID
System.String userName
EventLogController.EventLogType logType
| Improve this Doc View Source

AddLog(Object, IPortalSettings, Int32, String, String)

Provides a readily testable way to manage a Singleton.

Declaration
public void AddLog(object businessObject, IPortalSettings portalSettings, int userID, string userName, string logType)
Parameters
Type Name Description
System.Object businessObject
IPortalSettings portalSettings
System.Int32 userID
System.String userName
System.String logType
| Improve this Doc View Source

AddLog(Object, PortalSettings, Int32, String, EventLogController.EventLogType)

Provides a readily testable way to manage a Singleton.

Declaration
public void AddLog(object businessObject, PortalSettings portalSettings, int userID, string userName, EventLogController.EventLogType logType)
Parameters
Type Name Description
System.Object businessObject
PortalSettings portalSettings
System.Int32 userID
System.String userName
EventLogController.EventLogType logType
| Improve this Doc View Source

AddLog(Object, PortalSettings, Int32, String, String)

Provides a readily testable way to manage a Singleton.

Declaration
public void AddLog(object businessObject, PortalSettings portalSettings, int userID, string userName, string logType)
Parameters
Type Name Description
System.Object businessObject
PortalSettings portalSettings
System.Int32 userID
System.String userName
System.String logType
| Improve this Doc View Source

AddLog(String, String, IPortalSettings, Int32, EventLogController.EventLogType)

Provides a readily testable way to manage a Singleton.

Declaration
public void AddLog(string propertyName, string propertyValue, IPortalSettings portalSettings, int userID, EventLogController.EventLogType logType)
Parameters
Type Name Description
System.String propertyName
System.String propertyValue
IPortalSettings portalSettings
System.Int32 userID
EventLogController.EventLogType logType
| Improve this Doc View Source

AddLog(String, String, IPortalSettings, Int32, String)

Provides a readily testable way to manage a Singleton.

Declaration
public void AddLog(string propertyName, string propertyValue, IPortalSettings portalSettings, int userID, string logType)
Parameters
Type Name Description
System.String propertyName
System.String propertyValue
IPortalSettings portalSettings
System.Int32 userID
System.String logType
| Improve this Doc View Source

AddLog(String, String, PortalSettings, Int32, EventLogController.EventLogType)

Provides a readily testable way to manage a Singleton.

Declaration
public void AddLog(string propertyName, string propertyValue, PortalSettings portalSettings, int userID, EventLogController.EventLogType logType)
Parameters
Type Name Description
System.String propertyName
System.String propertyValue
PortalSettings portalSettings
System.Int32 userID
EventLogController.EventLogType logType
| Improve this Doc View Source

AddLog(String, String, PortalSettings, Int32, String)

Provides a readily testable way to manage a Singleton.

Declaration
public void AddLog(string propertyName, string propertyValue, PortalSettings portalSettings, int userID, string logType)
Parameters
Type Name Description
System.String propertyName
System.String propertyValue
PortalSettings portalSettings
System.Int32 userID
System.String logType
| Improve this Doc View Source

AddLog(String, String, EventLogController.EventLogType)

Provides a readily testable way to manage a Singleton.

Declaration
public void AddLog(string propertyName, string propertyValue, EventLogController.EventLogType logType)
Parameters
Type Name Description
System.String propertyName
System.String propertyValue
EventLogController.EventLogType logType
| Improve this Doc View Source

AddLogType(LogTypeInfo)

Provides a readily testable way to manage a Singleton.

Declaration
public void AddLogType(LogTypeInfo logType)
Parameters
Type Name Description
LogTypeInfo logType
| Improve this Doc View Source

AddLogType(String, String)

Provides a readily testable way to manage a Singleton.

Declaration
public void AddLogType(string configFile, string fallbackConfigFile)
Parameters
Type Name Description
System.String configFile
System.String fallbackConfigFile
| Improve this Doc View Source

AddLogTypeConfigInfo(LogTypeConfigInfo)

Adds a ILogTypeConfigInfo to the database.

Declaration
public void AddLogTypeConfigInfo(LogTypeConfigInfo logTypeConfig)
Parameters
Type Name Description
LogTypeConfigInfo logTypeConfig
| Improve this Doc View Source

AddSettingLog(EventLogController.EventLogType, String, Int32, String, String, Int32)

Provides a readily testable way to manage a Singleton.

Declaration
public static void AddSettingLog(EventLogController.EventLogType logTypeKey, string idFieldName, int idValue, string settingName, string settingValue, int userId)
Parameters
Type Name Description
EventLogController.EventLogType logTypeKey
System.String idFieldName
System.Int32 idValue
System.String settingName
System.String settingValue
System.Int32 userId
| Improve this Doc View Source

ClearLog()

Clears the Event Log.

Declaration
public void ClearLog()
| Improve this Doc View Source

DeleteLog(LogInfo)

Deletes a specific Event Log.

Declaration
public void DeleteLog(LogInfo logInfo)
Parameters
Type Name Description
LogInfo logInfo
| Improve this Doc View Source

DeleteLogType(LogTypeInfo)

Deletes an existing ILogTypeInfo from the database.

Declaration
public void DeleteLogType(LogTypeInfo logType)
Parameters
Type Name Description
LogTypeInfo logType
| Improve this Doc View Source

DeleteLogTypeConfigInfo(LogTypeConfigInfo)

Delete an existing ILogTypeConfigInfo from the database..

Declaration
public void DeleteLogTypeConfigInfo(LogTypeConfigInfo logTypeConfig)
Parameters
Type Name Description
LogTypeConfigInfo logTypeConfig
| Improve this Doc View Source

GetFactory()

Gets the service locator factory.

Declaration
protected override Func<IEventLogController> GetFactory()
Returns
Type Description
Func<IEventLogController>

A factory function.

Overrides
DotNetNuke.Framework.ServiceLocator<DotNetNuke.Services.Log.EventLog.IEventLogController, DotNetNuke.Services.Log.EventLog.EventLogController>.GetFactory()
| Improve this Doc View Source

GetLog(String)

Retrieves a single event log via the Log Guid.

Declaration
public ILogInfo GetLog(string logGuid)
Parameters
Type Name Description
System.String logGuid

A string reprenstation of the log Guid.

Returns
Type Description
ILogInfo

The ILogInfo.

| Improve this Doc View Source

GetLogs(Int32, String, Int32, Int32, ref Int32)

Get the Event Log.

Declaration
public List<LogInfo> GetLogs(int portalID, string logType, int pageSize, int pageIndex, ref int totalRecords)
Parameters
Type Name Description
System.Int32 portalID

The portal id.

System.String logType

The log type.

System.Int32 pageSize

The page size.

System.Int32 pageIndex

The page index.

System.Int32 totalRecords

The total records.

Returns
Type Description
List<LogInfo>

The logs.

| Improve this Doc View Source

GetLogTypeConfigInfo()

Provides a readily testable way to manage a Singleton.

Declaration
public ArrayList GetLogTypeConfigInfo()
Returns
Type Description
ArrayList
| Improve this Doc View Source

GetLogTypeConfigInfoByID(String)

Get the ILogTypeConfigInfo by id..

Declaration
public LogTypeConfigInfo GetLogTypeConfigInfoByID(string id)
Parameters
Type Name Description
System.String id

The id.

Returns
Type Description
LogTypeConfigInfo

The log type config info.

| Improve this Doc View Source

GetLogTypeInfoDictionary()

Gets the log type info dictionary.

Declaration
public Dictionary<string, LogTypeInfo> GetLogTypeInfoDictionary()
Returns
Type Description
Dictionary<System.String, LogTypeInfo>

The dictionary.

| Improve this Doc View Source

GetSingleLog(LogInfo, LoggingProvider.ReturnType)

Provides a readily testable way to manage a Singleton.

Declaration
public object GetSingleLog(LogInfo log, LoggingProvider.ReturnType returnType)
Parameters
Type Name Description
LogInfo log
LoggingProvider.ReturnType returnType
Returns
Type Description
System.Object
| Improve this Doc View Source

PurgeLogBuffer()

Purge the log buffer.

Declaration
public void PurgeLogBuffer()
| Improve this Doc View Source

UpdateLogType(LogTypeInfo)

Update the log type.

Declaration
public virtual void UpdateLogType(LogTypeInfo logType)
Parameters
Type Name Description
LogTypeInfo logType
| Improve this Doc View Source

UpdateLogTypeConfigInfo(LogTypeConfigInfo)

UPdate the log type config info.

Declaration
public virtual void UpdateLogTypeConfigInfo(LogTypeConfigInfo logTypeConfig)
Parameters
Type Name Description
LogTypeConfigInfo logTypeConfig

Explicit Interface Implementations

| Improve this Doc View Source

IEventLogConfigService.AddLogType(ILogTypeInfo)

Adds a ILogTypeInfo to the database.

Declaration
void IEventLogConfigService.AddLogType(ILogTypeInfo logType)
Parameters
Type Name Description
ILogTypeInfo logType

The log type.

| Improve this Doc View Source

IEventLogConfigService.AddLogTypeConfigInfo(ILogTypeConfigInfo)

Adds a ILogTypeConfigInfo to the database.

Declaration
void IEventLogConfigService.AddLogTypeConfigInfo(ILogTypeConfigInfo logTypeConfig)
Parameters
Type Name Description
ILogTypeConfigInfo logTypeConfig

The log type configuration.

| Improve this Doc View Source

IEventLogConfigService.DeleteLogType(ILogTypeInfo)

Deletes an existing ILogTypeInfo from the database.

Declaration
void IEventLogConfigService.DeleteLogType(ILogTypeInfo logType)
Parameters
Type Name Description
ILogTypeInfo logType

The log type.

| Improve this Doc View Source

IEventLogConfigService.DeleteLogTypeConfigInfo(ILogTypeConfigInfo)

Delete an existing ILogTypeConfigInfo from the database..

Declaration
void IEventLogConfigService.DeleteLogTypeConfigInfo(ILogTypeConfigInfo logTypeConfig)
Parameters
Type Name Description
ILogTypeConfigInfo logTypeConfig

The log type config.

| Improve this Doc View Source

IEventLogConfigService.UpdateLogType(ILogTypeInfo)

Update the log type.

Declaration
void IEventLogConfigService.UpdateLogType(ILogTypeInfo logType)
Parameters
Type Name Description
ILogTypeInfo logType

The log type info.

| Improve this Doc View Source

IEventLogConfigService.UpdateLogTypeConfigInfo(ILogTypeConfigInfo)

UPdate the log type config info.

Declaration
void IEventLogConfigService.UpdateLogTypeConfigInfo(ILogTypeConfigInfo logTypeConfig)
Parameters
Type Name Description
ILogTypeConfigInfo logTypeConfig

The log type config.

| Improve this Doc View Source

IEventLogger.AddLog(ILogInfo)

Adds an Event Log.

Declaration
void IEventLogger.AddLog(ILogInfo logInfo)
Parameters
Type Name Description
ILogInfo logInfo

The log info.

| Improve this Doc View Source

IEventLogService.ClearLog()

Clears the Event Log.

Declaration
void IEventLogService.ClearLog()
| Improve this Doc View Source

IEventLogService.DeleteLog(ILogInfo)

Deletes a specific Event Log.

Declaration
void IEventLogService.DeleteLog(ILogInfo logInfo)
Parameters
Type Name Description
ILogInfo logInfo

the log info.

| Improve this Doc View Source

IEventLogService.PurgeLogBuffer()

Purge the log buffer.

Declaration
void IEventLogService.PurgeLogBuffer()

Implements

IEventLogController
ILogController
IEventLogConfigService
IEventLogService
IEventLogger

Extension Methods

JsonExtensionsWeb.ToJson(Object)
  • View Source
Back to top by the community, for the community... #DNNCMS