Show / Hide Table of Contents

Class LoggingProvider

Inheritance
object
LoggingProvider
DBLoggingProvider
Inherited Members
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 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
Type Name Description
string logTypeKey
string logTypeFriendlyName
string logTypeDescription
string logTypeCSSClass
string logTypeOwner

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
Type Name Description
string id
bool loggingIsActive
string logTypeKey
string logTypePortalID
string keepMostRecent
string logFileName
bool emailNotificationIsActive
string threshold
string notificationThresholdTime
string notificationThresholdTimeType
string mailFromAddress
string mailToAddress

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
Type Description
ILogInfo

GetLogTypeConfigInfo()

Declaration
public abstract ArrayList GetLogTypeConfigInfo()
Returns
Type Description
ArrayList

GetLogTypeConfigInfoByID(string)

Declaration
public abstract LogTypeConfigInfo GetLogTypeConfigInfoByID(string id)
Parameters
Type Name Description
string id
Returns
Type Description
LogTypeConfigInfo

GetLogTypeInfo()

Declaration
public abstract ArrayList GetLogTypeInfo()
Returns
Type Description
ArrayList

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
Type Description
List<LogInfo>

GetSingleLog(LogInfo, ReturnType)

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

Instance()

Declaration
public static LoggingProvider Instance()
Returns
Type Description
LoggingProvider

LoggingIsEnabled(string, int)

Declaration
public abstract bool LoggingIsEnabled(string logType, int portalID)
Parameters
Type Name Description
string logType
int portalID
Returns
Type Description
bool

PurgeLogBuffer()

Declaration
public abstract void PurgeLogBuffer()

SendLogNotifications()

Declaration
public abstract void SendLogNotifications()

SupportsEmailNotification()

Declaration
public abstract bool SupportsEmailNotification()
Returns
Type Description
bool

SupportsInternalViewer()

Declaration
public abstract bool SupportsInternalViewer()
Returns
Type Description
bool

SupportsSendToCoreTeam()

Declaration
public abstract bool SupportsSendToCoreTeam()
Returns
Type Description
bool

SupportsSendViaEmail()

Declaration
public abstract bool SupportsSendViaEmail()
Returns
Type Description
bool

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
string logTypeKey
string logTypeFriendlyName
string logTypeDescription
string logTypeCSSClass
string logTypeOwner

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
Type Name Description
string id
bool loggingIsActive
string logTypeKey
string logTypePortalID
string keepMostRecent
string logFileName
bool emailNotificationIsActive
string threshold
string notificationThresholdTime
string notificationThresholdTimeType
string mailFromAddress
string mailToAddress

Extension Methods

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