• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Improve this Doc

Class DBLoggingProvider

Inheritance
System.Object
LoggingProvider
DBLoggingProvider
Inherited Members
LoggingProvider.Instance()
Namespace: DotNetNuke.Services.Log.EventLog
Assembly: DotNetNuke.dll
Syntax
public class DBLoggingProvider : LoggingProvider

Fields

| Improve this Doc View Source

LogTypeCacheKey

Declaration
public const string LogTypeCacheKey = null
Field Value
Type Description
System.String
| Improve this Doc View Source

LogTypeInfoByKeyCacheKey

Declaration
public const string LogTypeInfoByKeyCacheKey = null
Field Value
Type Description
System.String
| Improve this Doc View Source

LogTypeInfoCacheKey

Declaration
public const string LogTypeInfoCacheKey = null
Field Value
Type Description
System.String

Methods

| Improve this Doc View Source

AddLog(LogInfo)

Declaration
public override void AddLog(LogInfo logInfo)
Parameters
Type Name Description
LogInfo logInfo
Overrides
LoggingProvider.AddLog(LogInfo)
| Improve this Doc View Source

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
System.String logTypeKey
System.String logTypeFriendlyName
System.String logTypeDescription
System.String logTypeCSSClass
System.String logTypeOwner
Overrides
LoggingProvider.AddLogType(String, String, String, String, String)
| Improve this Doc View Source

AddLogTypeConfigInfo(String, Boolean, String, String, String, String, Boolean, 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
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 thresholdTime
System.String thresholdTimeType
System.String mailFromAddress
System.String mailToAddress
Overrides
LoggingProvider.AddLogTypeConfigInfo(String, Boolean, String, String, String, String, Boolean, String, String, String, String, String)
| Improve this Doc View Source

ClearLog()

Declaration
public override void ClearLog()
Overrides
LoggingProvider.ClearLog()
| Improve this Doc View Source

DeleteLog(LogInfo)

Declaration
public override void DeleteLog(LogInfo logInfo)
Parameters
Type Name Description
LogInfo logInfo
Overrides
LoggingProvider.DeleteLog(LogInfo)
| Improve this Doc View Source

DeleteLogType(String)

Declaration
public override void DeleteLogType(string logTypeKey)
Parameters
Type Name Description
System.String logTypeKey
Overrides
LoggingProvider.DeleteLogType(String)
| Improve this Doc View Source

DeleteLogTypeConfigInfo(String)

Declaration
public override void DeleteLogTypeConfigInfo(string id)
Parameters
Type Name Description
System.String id
Overrides
LoggingProvider.DeleteLogTypeConfigInfo(String)
| Improve this Doc View Source

GetLog(String)

Retrieves a single event log via the Log Guid.

Declaration
public override ILogInfo GetLog(string logGuid)
Parameters
Type Name Description
System.String logGuid

A string reprenstation of the log Guid.

Returns
Type Description
ILogInfo

The ILogInfo.

Overrides
LoggingProvider.GetLog(String)
| Improve this Doc View Source

GetLogs(Int32, String, Int32, Int32, ref Int32)

Declaration
public override 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
Type Description
List<LogInfo>
Overrides
LoggingProvider.GetLogs(Int32, String, Int32, Int32, ref Int32)
| Improve this Doc View Source

GetLogTypeConfigInfo()

Declaration
public override ArrayList GetLogTypeConfigInfo()
Returns
Type Description
ArrayList
Overrides
LoggingProvider.GetLogTypeConfigInfo()
| Improve this Doc View Source

GetLogTypeConfigInfoByID(String)

Declaration
public override LogTypeConfigInfo GetLogTypeConfigInfoByID(string id)
Parameters
Type Name Description
System.String id
Returns
Type Description
LogTypeConfigInfo
Overrides
LoggingProvider.GetLogTypeConfigInfoByID(String)
| Improve this Doc View Source

GetLogTypeInfo()

Declaration
public override ArrayList GetLogTypeInfo()
Returns
Type Description
ArrayList
Overrides
LoggingProvider.GetLogTypeInfo()
| Improve this Doc View Source

GetSingleLog(LogInfo, LoggingProvider.ReturnType)

Declaration
public override object GetSingleLog(LogInfo logInfo, LoggingProvider.ReturnType returnType)
Parameters
Type Name Description
LogInfo logInfo
LoggingProvider.ReturnType returnType
Returns
Type Description
System.Object
Overrides
LoggingProvider.GetSingleLog(LogInfo, LoggingProvider.ReturnType)
| Improve this Doc View Source

LoggingIsEnabled(String, Int32)

Declaration
public override bool LoggingIsEnabled(string logType, int portalID)
Parameters
Type Name Description
System.String logType
System.Int32 portalID
Returns
Type Description
System.Boolean
Overrides
LoggingProvider.LoggingIsEnabled(String, Int32)
| Improve this Doc View Source

PurgeLogBuffer()

Declaration
public override void PurgeLogBuffer()
Overrides
LoggingProvider.PurgeLogBuffer()
| Improve this Doc View Source

SendLogNotifications()

Declaration
public override void SendLogNotifications()
Overrides
LoggingProvider.SendLogNotifications()
| Improve this Doc View Source

SupportsEmailNotification()

Declaration
public override bool SupportsEmailNotification()
Returns
Type Description
System.Boolean
Overrides
LoggingProvider.SupportsEmailNotification()
| Improve this Doc View Source

SupportsInternalViewer()

Declaration
public override bool SupportsInternalViewer()
Returns
Type Description
System.Boolean
Overrides
LoggingProvider.SupportsInternalViewer()
| Improve this Doc View Source

SupportsSendToCoreTeam()

Declaration
public override bool SupportsSendToCoreTeam()
Returns
Type Description
System.Boolean
Overrides
LoggingProvider.SupportsSendToCoreTeam()
| Improve this Doc View Source

SupportsSendViaEmail()

Declaration
public override bool SupportsSendViaEmail()
Returns
Type Description
System.Boolean
Overrides
LoggingProvider.SupportsSendViaEmail()
| Improve this Doc View Source

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
System.String logTypeKey
System.String logTypeFriendlyName
System.String logTypeDescription
System.String logTypeCSSClass
System.String logTypeOwner
Overrides
LoggingProvider.UpdateLogType(String, String, String, String, String)
| Improve this Doc View Source

UpdateLogTypeConfigInfo(String, Boolean, String, String, String, String, Boolean, 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
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 thresholdTime
System.String thresholdTimeType
System.String mailFromAddress
System.String mailToAddress
Overrides
LoggingProvider.UpdateLogTypeConfigInfo(String, Boolean, String, String, String, String, Boolean, String, String, String, String, String)

Extension Methods

JsonExtensionsWeb.ToJson(Object)
  • View Source
Back to top by the community, for the community... #DNNCMS