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

Interface IEventLogService

The event log service provides APIs for managing existing Event Logs in the database.

Inherited Members
IEventLogger.AddLog(String, String, EventLogType)
IEventLogger.AddLog(String, String, IPortalSettings, Int32, EventLogType)
IEventLogger.AddLog(String, String, IPortalSettings, Int32, String)
IEventLogger.AddLog(ILogProperties, IPortalSettings, Int32, String, Boolean)
IEventLogger.AddLog(IPortalSettings, Int32, EventLogType)
IEventLogger.AddLog(Object, IPortalSettings, Int32, String, EventLogType)
IEventLogger.AddLog(Object, IPortalSettings, Int32, String, String)
IEventLogger.AddLog(ILogInfo)
Namespace: DotNetNuke.Abstractions.Logging
Assembly: DotNetNuke.Abstractions.dll
Syntax
public interface IEventLogService : IEventLogger

Methods

| Improve this Doc View Source

ClearLog()

Clears the Event Log.

Declaration
void ClearLog()
| Improve this Doc View Source

DeleteLog(ILogInfo)

Deletes a specific Event Log.

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

the log info.

| Improve this Doc View Source

GetLog(String)

Retrieves a single event log via the Log Guid.

Declaration
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
IEnumerable<ILogInfo> 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
IEnumerable<ILogInfo>

The logs.

| Improve this Doc View Source

PurgeLogBuffer()

Purge the log buffer.

Declaration
void PurgeLogBuffer()

Extension Methods

EventLogExtensions.AddSettingLog(IEventLogger, EventLogType, String, Int32, String, String, Int32)
JsonExtensionsWeb.ToJson(Object)
  • View Source
Back to top by the community, for the community... #DNNCMS