Class LogController
Inheritance
System.Object
LogController
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
|
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
|
Improve this Doc
View Source
ClearLog()
Declaration
|
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
|
Improve this Doc
View Source
DeleteLogTypeConfigInfo(LogTypeConfigInfo)
Declaration
public virtual void DeleteLogTypeConfigInfo(LogTypeConfigInfo logTypeConfig)
Parameters
|
Improve this Doc
View Source
GetFactory()
Gets the service locator factory.
Declaration
protected override Func<ILogController> GetFactory()
Returns
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
|
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
|
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
|
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
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
|
Improve this Doc
View Source
UpdateLogTypeConfigInfo(LogTypeConfigInfo)
Declaration
public virtual void UpdateLogTypeConfigInfo(LogTypeConfigInfo logTypeConfig)
Parameters
Implements
Extension Methods