Show / Hide Table of Contents

Class DBLoggingProvider

Inheritance
object
LoggingProvider
DBLoggingProvider
Inherited Members
LoggingProvider.Instance()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: DotNetNuke.Services.Log.EventLog
Assembly: DotNetNuke.dll
Syntax
public class DBLoggingProvider : LoggingProvider

Constructors

DBLoggingProvider()

Declaration
public DBLoggingProvider()

Fields

LogTypeCacheKey

Declaration
public const string LogTypeCacheKey = "LogTypes"
Field Value
Type Description
string

LogTypeInfoByKeyCacheKey

Declaration
public const string LogTypeInfoByKeyCacheKey = "GetLogTypeConfigInfoByKey"
Field Value
Type Description
string

LogTypeInfoCacheKey

Declaration
public const string LogTypeInfoCacheKey = "GetLogTypeConfigInfo"
Field Value
Type Description
string

Methods

AddLog(LogInfo)

Declaration
public override void AddLog(LogInfo logInfo)
Parameters
Type Name Description
LogInfo logInfo
Overrides
LoggingProvider.AddLog(LogInfo)

AddLogType(string, string, string, string, string)

Declaration
public override void AddLogType(string logTypeKey, string logTypeFriendlyName, string logTypeDescription, string logTypeCSSClass, string logTypeOwner)
Parameters
Type Name Description
string logTypeKey
string logTypeFriendlyName
string logTypeDescription
string logTypeCSSClass
string logTypeOwner
Overrides
LoggingProvider.AddLogType(string, string, string, string, string)

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
Type Name Description
string id
bool loggingIsActive
string logTypeKey
string logTypePortalID
string keepMostRecent
string logFileName
bool emailNotificationIsActive
string threshold
string thresholdTime
string thresholdTimeType
string mailFromAddress
string mailToAddress
Overrides
LoggingProvider.AddLogTypeConfigInfo(string, bool, string, string, string, string, bool, string, string, string, string, string)

ClearLog()

Declaration
public override void ClearLog()
Overrides
LoggingProvider.ClearLog()

DeleteLog(LogInfo)

Declaration
public override void DeleteLog(LogInfo logInfo)
Parameters
Type Name Description
LogInfo logInfo
Overrides
LoggingProvider.DeleteLog(LogInfo)

DeleteLogType(string)

Declaration
public override void DeleteLogType(string logTypeKey)
Parameters
Type Name Description
string logTypeKey
Overrides
LoggingProvider.DeleteLogType(string)

DeleteLogTypeConfigInfo(string)

Declaration
public override void DeleteLogTypeConfigInfo(string id)
Parameters
Type Name Description
string id
Overrides
LoggingProvider.DeleteLogTypeConfigInfo(string)

GetLog(string)

Declaration
public override ILogInfo GetLog(string logGuid)
Parameters
Type Name Description
string logGuid
Returns
Type Description
ILogInfo
Overrides
LoggingProvider.GetLog(string)

GetLogTypeConfigInfo()

Declaration
public override ArrayList GetLogTypeConfigInfo()
Returns
Type Description
ArrayList
Overrides
LoggingProvider.GetLogTypeConfigInfo()

GetLogTypeConfigInfoByID(string)

Declaration
public override LogTypeConfigInfo GetLogTypeConfigInfoByID(string id)
Parameters
Type Name Description
string id
Returns
Type Description
LogTypeConfigInfo
Overrides
LoggingProvider.GetLogTypeConfigInfoByID(string)

GetLogTypeInfo()

Declaration
public override ArrayList GetLogTypeInfo()
Returns
Type Description
ArrayList
Overrides
LoggingProvider.GetLogTypeInfo()

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
Type Description
List<LogInfo>
Overrides
LoggingProvider.GetLogs(int, string, int, int, ref int)

GetSingleLog(LogInfo, ReturnType)

Declaration
public override object GetSingleLog(LogInfo logInfo, LoggingProvider.ReturnType returnType)
Parameters
Type Name Description
LogInfo logInfo
LoggingProvider.ReturnType returnType
Returns
Type Description
object
Overrides
LoggingProvider.GetSingleLog(LogInfo, LoggingProvider.ReturnType)

LoggingIsEnabled(string, int)

Declaration
public override bool LoggingIsEnabled(string logType, int portalID)
Parameters
Type Name Description
string logType
int portalID
Returns
Type Description
bool
Overrides
LoggingProvider.LoggingIsEnabled(string, int)

PurgeLogBuffer()

Declaration
public override void PurgeLogBuffer()
Overrides
LoggingProvider.PurgeLogBuffer()

SendLogNotifications()

Declaration
public override void SendLogNotifications()
Overrides
LoggingProvider.SendLogNotifications()

SupportsEmailNotification()

Declaration
public override bool SupportsEmailNotification()
Returns
Type Description
bool
Overrides
LoggingProvider.SupportsEmailNotification()

SupportsInternalViewer()

Declaration
public override bool SupportsInternalViewer()
Returns
Type Description
bool
Overrides
LoggingProvider.SupportsInternalViewer()

SupportsSendToCoreTeam()

Declaration
public override bool SupportsSendToCoreTeam()
Returns
Type Description
bool
Overrides
LoggingProvider.SupportsSendToCoreTeam()

SupportsSendViaEmail()

Declaration
public override bool SupportsSendViaEmail()
Returns
Type Description
bool
Overrides
LoggingProvider.SupportsSendViaEmail()

UpdateLogType(string, string, string, string, string)

Declaration
public override void UpdateLogType(string logTypeKey, string logTypeFriendlyName, string logTypeDescription, string logTypeCSSClass, string logTypeOwner)
Parameters
Type Name Description
string logTypeKey
string logTypeFriendlyName
string logTypeDescription
string logTypeCSSClass
string logTypeOwner
Overrides
LoggingProvider.UpdateLogType(string, string, string, string, string)

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
Type Name Description
string id
bool loggingIsActive
string logTypeKey
string logTypePortalID
string keepMostRecent
string logFileName
bool emailNotificationIsActive
string threshold
string thresholdTime
string thresholdTimeType
string mailFromAddress
string mailToAddress
Overrides
LoggingProvider.UpdateLogTypeConfigInfo(string, bool, string, string, string, string, bool, string, string, string, string, string)

Extension Methods

JsonExtensionsWeb.ToJson(object)
Back to top by the community, for the community... #DNNCMS