Class LoggingProvider
Inheritance
System.Object
LoggingProvider
Assembly: DotNetNuke.dll
Syntax
public abstract class LoggingProvider : object
Methods
|
Improve this Doc
View Source
AddLog(LogInfo)
Declaration
public abstract void AddLog(LogInfo logInfo)
Parameters
| Type |
Name |
Description |
| LogInfo |
logInfo |
|
|
Improve this Doc
View Source
AddLogType(String, String, String, String, String)
Declaration
public abstract void AddLogType(string logTypeKey, string logTypeFriendlyName, string logTypeDescription, string logTypeCSSClass, string logTypeOwner)
Parameters
| Type |
Name |
Description |
| System.String |
logTypeKey |
|
| System.String |
logTypeFriendlyName |
|
| System.String |
logTypeDescription |
|
| System.String |
logTypeCSSClass |
|
| System.String |
logTypeOwner |
|
|
Improve this Doc
View Source
AddLogTypeConfigInfo(String, Boolean, String, String, String, String, Boolean, String, String, String, String, String)
Declaration
public abstract void AddLogTypeConfigInfo(string id, bool loggingIsActive, string logTypeKey, string logTypePortalID, string keepMostRecent, string logFileName, bool emailNotificationIsActive, string threshold, string notificationThresholdTime, string notificationThresholdTimeType, string mailFromAddress, string mailToAddress)
Parameters
| Type |
Name |
Description |
| System.String |
id |
|
| System.Boolean |
loggingIsActive |
|
| System.String |
logTypeKey |
|
| System.String |
logTypePortalID |
|
| System.String |
keepMostRecent |
|
| System.String |
logFileName |
|
| System.Boolean |
emailNotificationIsActive |
|
| System.String |
threshold |
|
| System.String |
notificationThresholdTime |
|
| System.String |
notificationThresholdTimeType |
|
| System.String |
mailFromAddress |
|
| System.String |
mailToAddress |
|
|
Improve this Doc
View Source
ClearLog()
Declaration
public abstract void ClearLog()
|
Improve this Doc
View Source
DeleteLog(LogInfo)
Declaration
public abstract void DeleteLog(LogInfo logInfo)
Parameters
| Type |
Name |
Description |
| LogInfo |
logInfo |
|
|
Improve this Doc
View Source
DeleteLogType(String)
Declaration
public abstract void DeleteLogType(string logTypeKey)
Parameters
| Type |
Name |
Description |
| System.String |
logTypeKey |
|
|
Improve this Doc
View Source
DeleteLogTypeConfigInfo(String)
Declaration
public abstract void DeleteLogTypeConfigInfo(string id)
Parameters
| Type |
Name |
Description |
| System.String |
id |
|
|
Improve this Doc
View Source
GetLog(String)
Retrieves a single event log via the Log Guid.
Declaration
public abstract ILogInfo GetLog(string logGuid)
Parameters
| Type |
Name |
Description |
| System.String |
logGuid |
A string reprenstation of the log Guid.
|
Returns
|
Improve this Doc
View Source
GetLogs(Int32, String, Int32, Int32, ref Int32)
Declaration
public virtual List<LogInfo> GetLogs(int portalID, string logType, int pageSize, int pageIndex, ref int totalRecords)
Parameters
| Type |
Name |
Description |
| System.Int32 |
portalID |
|
| System.String |
logType |
|
| System.Int32 |
pageSize |
|
| System.Int32 |
pageIndex |
|
| System.Int32 |
totalRecords |
|
Returns
|
Improve this Doc
View Source
GetLogTypeConfigInfo()
Declaration
public abstract ArrayList GetLogTypeConfigInfo()
Returns
| Type |
Description |
| ArrayList |
|
|
Improve this Doc
View Source
GetLogTypeConfigInfoByID(String)
Declaration
public abstract LogTypeConfigInfo GetLogTypeConfigInfoByID(string id)
Parameters
| Type |
Name |
Description |
| System.String |
id |
|
Returns
|
Improve this Doc
View Source
GetLogTypeInfo()
Declaration
public abstract ArrayList GetLogTypeInfo()
Returns
| Type |
Description |
| ArrayList |
|
|
Improve this Doc
View Source
GetSingleLog(LogInfo, LoggingProvider.ReturnType)
Declaration
public abstract object GetSingleLog(LogInfo logInfo, LoggingProvider.ReturnType returnType)
Parameters
Returns
| Type |
Description |
| System.Object |
|
|
Improve this Doc
View Source
Instance()
Declaration
public static LoggingProvider Instance()
Returns
|
Improve this Doc
View Source
LoggingIsEnabled(String, Int32)
Declaration
public abstract bool LoggingIsEnabled(string logType, int portalID)
Parameters
| Type |
Name |
Description |
| System.String |
logType |
|
| System.Int32 |
portalID |
|
Returns
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
PurgeLogBuffer()
Declaration
public abstract void PurgeLogBuffer()
|
Improve this Doc
View Source
SendLogNotifications()
Declaration
public abstract void SendLogNotifications()
|
Improve this Doc
View Source
SupportsEmailNotification()
Declaration
public abstract bool SupportsEmailNotification()
Returns
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
SupportsInternalViewer()
Declaration
public abstract bool SupportsInternalViewer()
Returns
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
SupportsSendToCoreTeam()
Declaration
public abstract bool SupportsSendToCoreTeam()
Returns
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
SupportsSendViaEmail()
Declaration
public abstract bool SupportsSendViaEmail()
Returns
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
UpdateLogType(String, String, String, String, String)
Declaration
public abstract void UpdateLogType(string logTypeKey, string logTypeFriendlyName, string logTypeDescription, string logTypeCSSClass, string logTypeOwner)
Parameters
| Type |
Name |
Description |
| System.String |
logTypeKey |
|
| System.String |
logTypeFriendlyName |
|
| System.String |
logTypeDescription |
|
| System.String |
logTypeCSSClass |
|
| System.String |
logTypeOwner |
|
|
Improve this Doc
View Source
UpdateLogTypeConfigInfo(String, Boolean, String, String, String, String, Boolean, String, String, String, String, String)
Declaration
public abstract void UpdateLogTypeConfigInfo(string id, bool loggingIsActive, string logTypeKey, string logTypePortalID, string keepMostRecent, string logFileName, bool emailNotificationIsActive, string threshold, string notificationThresholdTime, string notificationThresholdTimeType, string mailFromAddress, string mailToAddress)
Parameters
| Type |
Name |
Description |
| System.String |
id |
|
| System.Boolean |
loggingIsActive |
|
| System.String |
logTypeKey |
|
| System.String |
logTypePortalID |
|
| System.String |
keepMostRecent |
|
| System.String |
logFileName |
|
| System.Boolean |
emailNotificationIsActive |
|
| System.String |
threshold |
|
| System.String |
notificationThresholdTime |
|
| System.String |
notificationThresholdTimeType |
|
| System.String |
mailFromAddress |
|
| System.String |
mailToAddress |
|
Extension Methods