Interface IEventLogService
The event log service provides APIs for managing existing Event Logs in the database.
Inherited Members
Namespace: DotNetNuke.Abstractions.Logging
Assembly: DotNetNuke.Abstractions.dll
Syntax
public interface IEventLogService : IEventLogger
Methods
| Improve this Doc View SourceClearLog()
Clears the Event Log.
Declaration
void ClearLog()
DeleteLog(ILogInfo)
Deletes a specific Event Log.
Declaration
void DeleteLog(ILogInfo logInfo)
Parameters
Type | Name | Description |
---|---|---|
ILogInfo | logInfo | the log info. |
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. |
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. |
PurgeLogBuffer()
Purge the log buffer.
Declaration
void PurgeLogBuffer()