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

Class LogController

Inheritance
System.Object
ServiceLocator<ILogController, LogController>
LogController
ExceptionLogController
Implements
ILogController
Inherited Members
ServiceLocator<ILogController, LogController>.Instance
ServiceLocator<ILogController, LogController>.Factory
ServiceLocator<ILogController, LogController>.SetTestableInstance(ILogController)
ServiceLocator<ILogController, LogController>.ClearInstance()
ServiceLocator<ILogController, LogController>.GetFactory()
Namespace: DotNetNuke.Services.Log.EventLog
Assembly: DotNetNuke.dll
Syntax
public class LogController : ServiceLocator<ILogController, LogController>, ILogController

Methods

| Improve this Doc View Source

AddLog(LogInfo)

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

AddLogType(LogTypeInfo)

Declaration
public void AddLogType(LogTypeInfo logType)
Parameters
Type Name Description
LogTypeInfo logType
| Improve this Doc View Source

AddLogType(String, String)

Declaration
public void AddLogType(string configFile, string fallbackConfigFile)
Parameters
Type Name Description
System.String configFile
System.String fallbackConfigFile
| Improve this Doc View Source

AddLogTypeConfigInfo(LogTypeConfigInfo)

Declaration
public void AddLogTypeConfigInfo(LogTypeConfigInfo logTypeConfig)
Parameters
Type Name Description
LogTypeConfigInfo logTypeConfig
| Improve this Doc View Source

ClearLog()

Declaration
public void ClearLog()
| Improve this Doc View Source

DeleteLog(LogInfo)

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

DeleteLogType(LogTypeInfo)

Declaration
public virtual void DeleteLogType(LogTypeInfo logType)
Parameters
Type Name Description
LogTypeInfo logType
| Improve this Doc View Source

DeleteLogTypeConfigInfo(LogTypeConfigInfo)

Declaration
public virtual void DeleteLogTypeConfigInfo(LogTypeConfigInfo logTypeConfig)
Parameters
Type Name Description
LogTypeConfigInfo logTypeConfig
| Improve this Doc View Source

GetFactory()

Gets the service locator factory.

Declaration
protected override Func<ILogController> GetFactory()
Returns
Type Description
Func<ILogController>

A factory function.

Overrides
DotNetNuke.Framework.ServiceLocator<DotNetNuke.Services.Log.EventLog.ILogController, DotNetNuke.Services.Log.EventLog.LogController>.GetFactory()
| Improve this Doc View Source

GetLog(String)

Retrieves a single event log via the Log Guid.

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

A string reprenstation of the log Guid.

Returns
Type Description
ILogInfo

The ILogInfo.

| Improve this Doc View Source

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

Declaration
public virtual 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>
| Improve this Doc View Source

GetLogTypeConfigInfo()

Declaration
public virtual ArrayList GetLogTypeConfigInfo()
Returns
Type Description
ArrayList
| Improve this Doc View Source

GetLogTypeConfigInfoByID(String)

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

GetLogTypeInfoDictionary()

Declaration
public virtual Dictionary<string, LogTypeInfo> GetLogTypeInfoDictionary()
Returns
Type Description
Dictionary<System.String, LogTypeInfo>
| Improve this Doc View Source

GetSingleLog(LogInfo, LoggingProvider.ReturnType)

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

LoggingIsEnabled(String, Int32)

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

PurgeLogBuffer()

Declaration
public void PurgeLogBuffer()
| Improve this Doc View Source

SupportsEmailNotification()

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

SupportsInternalViewer()

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

UpdateLogType(LogTypeInfo)

Declaration
public virtual void UpdateLogType(LogTypeInfo logType)
Parameters
Type Name Description
LogTypeInfo logType
| Improve this Doc View Source

UpdateLogTypeConfigInfo(LogTypeConfigInfo)

Declaration
public virtual void UpdateLogTypeConfigInfo(LogTypeConfigInfo logTypeConfig)
Parameters
Type Name Description
LogTypeConfigInfo logTypeConfig

Implements

ILogController

Extension Methods

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