Class DBLoggingProvider
Inheritance
DBLoggingProvider
Assembly: DotNetNuke.dll
Syntax
public class DBLoggingProvider : LoggingProvider
Constructors
DBLoggingProvider()
Declaration
public DBLoggingProvider()
Fields
LogTypeCacheKey
Declaration
public const string LogTypeCacheKey = "LogTypes"
Field Value
LogTypeInfoByKeyCacheKey
Declaration
public const string LogTypeInfoByKeyCacheKey = "GetLogTypeConfigInfoByKey"
Field Value
LogTypeInfoCacheKey
Declaration
public const string LogTypeInfoCacheKey = "GetLogTypeConfigInfo"
Field Value
Methods
AddLog(LogInfo)
Declaration
public override void AddLog(LogInfo logInfo)
Parameters
Type |
Name |
Description |
LogInfo |
logInfo |
|
Overrides
AddLogType(string, string, string, string, string)
Declaration
public override void AddLogType(string logTypeKey, string logTypeFriendlyName, string logTypeDescription, string logTypeCSSClass, string logTypeOwner)
Parameters
Overrides
AddLogTypeConfigInfo(string, bool, string, string, string, string, bool, string, string, string, string, string)
Declaration
public override void AddLogTypeConfigInfo(string id, bool loggingIsActive, string logTypeKey, string logTypePortalID, string keepMostRecent, string logFileName, bool emailNotificationIsActive, string threshold, string thresholdTime, string thresholdTimeType, string mailFromAddress, string mailToAddress)
Parameters
Overrides
LoggingProvider.AddLogTypeConfigInfo(string, bool, string, string, string, string, bool, string, string, string, string, string)
ClearLog()
Declaration
public override void ClearLog()
Overrides
DeleteLog(LogInfo)
Declaration
public override void DeleteLog(LogInfo logInfo)
Parameters
Type |
Name |
Description |
LogInfo |
logInfo |
|
Overrides
DeleteLogType(string)
Declaration
public override void DeleteLogType(string logTypeKey)
Parameters
Type |
Name |
Description |
string |
logTypeKey |
|
Overrides
DeleteLogTypeConfigInfo(string)
Declaration
public override void DeleteLogTypeConfigInfo(string id)
Parameters
Type |
Name |
Description |
string |
id |
|
Overrides
GetLog(string)
Declaration
public override ILogInfo GetLog(string logGuid)
Parameters
Type |
Name |
Description |
string |
logGuid |
|
Returns
Overrides
GetLogTypeConfigInfo()
Declaration
public override ArrayList GetLogTypeConfigInfo()
Returns
Overrides
GetLogTypeConfigInfoByID(string)
Declaration
public override LogTypeConfigInfo GetLogTypeConfigInfoByID(string id)
Parameters
Type |
Name |
Description |
string |
id |
|
Returns
Overrides
GetLogTypeInfo()
Declaration
public override ArrayList GetLogTypeInfo()
Returns
Overrides
GetLogs(int, string, int, int, ref int)
Declaration
public override 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
Overrides
GetSingleLog(LogInfo, ReturnType)
Declaration
public override object GetSingleLog(LogInfo logInfo, LoggingProvider.ReturnType returnType)
Parameters
Returns
Overrides
LoggingIsEnabled(string, int)
Declaration
public override bool LoggingIsEnabled(string logType, int portalID)
Parameters
Type |
Name |
Description |
string |
logType |
|
int |
portalID |
|
Returns
Overrides
PurgeLogBuffer()
Declaration
public override void PurgeLogBuffer()
Overrides
SendLogNotifications()
Declaration
public override void SendLogNotifications()
Overrides
SupportsEmailNotification()
Declaration
public override bool SupportsEmailNotification()
Returns
Overrides
SupportsInternalViewer()
Declaration
public override bool SupportsInternalViewer()
Returns
Overrides
SupportsSendToCoreTeam()
Declaration
public override bool SupportsSendToCoreTeam()
Returns
Overrides
SupportsSendViaEmail()
Declaration
public override bool SupportsSendViaEmail()
Returns
Overrides
UpdateLogType(string, string, string, string, string)
Declaration
public override void UpdateLogType(string logTypeKey, string logTypeFriendlyName, string logTypeDescription, string logTypeCSSClass, string logTypeOwner)
Parameters
Overrides
UpdateLogTypeConfigInfo(string, bool, string, string, string, string, bool, string, string, string, string, string)
Declaration
public override void UpdateLogTypeConfigInfo(string id, bool loggingIsActive, string logTypeKey, string logTypePortalID, string keepMostRecent, string logFileName, bool emailNotificationIsActive, string threshold, string thresholdTime, string thresholdTimeType, string mailFromAddress, string mailToAddress)
Parameters
Overrides
LoggingProvider.UpdateLogTypeConfigInfo(string, bool, string, string, string, string, bool, string, string, string, string, string)
Extension Methods