Class LoggingProvider
Inheritance
LoggingProvider
Assembly: DotNetNuke.dll
Syntax
public abstract class LoggingProvider
Constructors
LoggingProvider()
Declaration
protected LoggingProvider()
Methods
AddLog(LogInfo)
Declaration
public abstract void AddLog(LogInfo logInfo)
Parameters
Type |
Name |
Description |
LogInfo |
logInfo |
|
AddLogType(string, string, string, string, string)
Declaration
public abstract void AddLogType(string logTypeKey, string logTypeFriendlyName, string logTypeDescription, string logTypeCSSClass, string logTypeOwner)
Parameters
AddLogTypeConfigInfo(string, bool, string, string, string, string, bool, 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
ClearLog()
Declaration
public abstract void ClearLog()
DeleteLog(LogInfo)
Declaration
public abstract void DeleteLog(LogInfo logInfo)
Parameters
Type |
Name |
Description |
LogInfo |
logInfo |
|
DeleteLogType(string)
Declaration
public abstract void DeleteLogType(string logTypeKey)
Parameters
Type |
Name |
Description |
string |
logTypeKey |
|
DeleteLogTypeConfigInfo(string)
Declaration
public abstract void DeleteLogTypeConfigInfo(string id)
Parameters
Type |
Name |
Description |
string |
id |
|
GetLog(string)
Declaration
public abstract ILogInfo GetLog(string logGuid)
Parameters
Type |
Name |
Description |
string |
logGuid |
|
Returns
GetLogTypeConfigInfo()
Declaration
public abstract ArrayList GetLogTypeConfigInfo()
Returns
GetLogTypeConfigInfoByID(string)
Declaration
public abstract LogTypeConfigInfo GetLogTypeConfigInfoByID(string id)
Parameters
Type |
Name |
Description |
string |
id |
|
Returns
GetLogTypeInfo()
Declaration
public abstract ArrayList GetLogTypeInfo()
Returns
GetLogs(int, string, int, int, ref int)
Declaration
public virtual List<LogInfo> GetLogs(int portalID, string logType, int pageSize, int pageIndex, ref int totalRecords)
Parameters
Type |
Name |
Description |
int |
portalID |
|
string |
logType |
|
int |
pageSize |
|
int |
pageIndex |
|
int |
totalRecords |
|
Returns
GetSingleLog(LogInfo, ReturnType)
Declaration
public abstract object GetSingleLog(LogInfo logInfo, LoggingProvider.ReturnType returnType)
Parameters
Returns
Instance()
Declaration
public static LoggingProvider Instance()
Returns
LoggingIsEnabled(string, int)
Declaration
public abstract bool LoggingIsEnabled(string logType, int portalID)
Parameters
Type |
Name |
Description |
string |
logType |
|
int |
portalID |
|
Returns
PurgeLogBuffer()
Declaration
public abstract void PurgeLogBuffer()
SendLogNotifications()
Declaration
public abstract void SendLogNotifications()
SupportsEmailNotification()
Declaration
public abstract bool SupportsEmailNotification()
Returns
SupportsInternalViewer()
Declaration
public abstract bool SupportsInternalViewer()
Returns
SupportsSendToCoreTeam()
Declaration
public abstract bool SupportsSendToCoreTeam()
Returns
SupportsSendViaEmail()
Declaration
public abstract bool SupportsSendViaEmail()
Returns
UpdateLogType(string, string, string, string, string)
Declaration
public abstract void UpdateLogType(string logTypeKey, string logTypeFriendlyName, string logTypeDescription, string logTypeCSSClass, string logTypeOwner)
Parameters
UpdateLogTypeConfigInfo(string, bool, string, string, string, string, bool, 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
Extension Methods