Interface IEventLogger
The event logger provides APIs for adding new event logs.
Namespace: DotNetNuke.Abstractions.Logging
Assembly: DotNetNuke.Abstractions.dll
Syntax
public interface IEventLogger
Methods
| Improve this Doc View SourceAddLog(ILogInfo)
Adds an Event Log.
Declaration
void AddLog(ILogInfo logInfo)
Parameters
Type | Name | Description |
---|---|---|
ILogInfo | logInfo | The log info. |
AddLog(ILogProperties, IPortalSettings, Int32, String, Boolean)
Adds an Event Log.
Declaration
void AddLog(ILogProperties properties, IPortalSettings portalSettings, int userID, string logTypeKey, bool bypassBuffering)
Parameters
Type | Name | Description |
---|---|---|
ILogProperties | properties | The properties of the log. |
IPortalSettings | portalSettings | The portal settings. |
System.Int32 | userID | The user id. |
System.String | logTypeKey | The log type key. |
System.Boolean | bypassBuffering | The bypass buffering. |
AddLog(IPortalSettings, Int32, EventLogType)
Adds an Event Log.
Declaration
void AddLog(IPortalSettings portalSettings, int userID, EventLogType logType)
Parameters
Type | Name | Description |
---|---|---|
IPortalSettings | portalSettings | The portal settings. |
System.Int32 | userID | The user id. |
EventLogType | logType | The log type. |
AddLog(Object, IPortalSettings, Int32, String, EventLogType)
Adds an Event Log.
Declaration
void AddLog(object businessObject, IPortalSettings portalSettings, int userID, string userName, EventLogType logType)
Parameters
Type | Name | Description |
---|---|---|
System.Object | businessObject | The business object. |
IPortalSettings | portalSettings | The portal settings. |
System.Int32 | userID | The user id. |
System.String | userName | The user name. |
EventLogType | logType | The log type. |
AddLog(Object, IPortalSettings, Int32, String, String)
Adds an Event Log.
Declaration
void AddLog(object businessObject, IPortalSettings portalSettings, int userID, string userName, string logType)
Parameters
Type | Name | Description |
---|---|---|
System.Object | businessObject | The business object. |
IPortalSettings | portalSettings | The portal settings. |
System.Int32 | userID | The user id. |
System.String | userName | The user name. |
System.String | logType | The log type. |
AddLog(String, String, EventLogType)
Adds an Event Log.
Declaration
void AddLog(string name, string value, EventLogType logType)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The log property name. |
System.String | value | The log property value. |
EventLogType | logType | The log type. |
AddLog(String, String, IPortalSettings, Int32, EventLogType)
Adds an Event Log.
Declaration
void AddLog(string name, string value, IPortalSettings portalSettings, int userID, EventLogType logType)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The log property name. |
System.String | value | The log property value. |
IPortalSettings | portalSettings | The portal settings. |
System.Int32 | userID | The user id. |
EventLogType | logType | The log type. |
AddLog(String, String, IPortalSettings, Int32, String)
Adds an Event Log.
Declaration
void AddLog(string name, string value, IPortalSettings portalSettings, int userID, string logType)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The log property name. |
System.String | value | The log property value. |
IPortalSettings | portalSettings | The portal settings. |
System.Int32 | userID | The user id. |
System.String | logType | The log type. |