Class LogController
Inheritance
LogController
Assembly: DotNetNuke.dll
Syntax
public class LogController : ServiceLocator<ILogController, LogController>, ILogController
Constructors
LogController()
Declaration
Methods
AddLog(LogInfo)
Declaration
public void AddLog(LogInfo logInfo)
Parameters
Type |
Name |
Description |
LogInfo |
logInfo |
|
AddLogType(LogTypeInfo)
Declaration
public void AddLogType(LogTypeInfo logType)
Parameters
AddLogType(string, string)
Declaration
public void AddLogType(string configFile, string fallbackConfigFile)
Parameters
Type |
Name |
Description |
string |
configFile |
|
string |
fallbackConfigFile |
|
AddLogTypeConfigInfo(LogTypeConfigInfo)
Declaration
public void AddLogTypeConfigInfo(LogTypeConfigInfo logTypeConfig)
Parameters
ClearLog()
Declaration
DeleteLog(LogInfo)
Declaration
public void DeleteLog(LogInfo logInfo)
Parameters
Type |
Name |
Description |
LogInfo |
logInfo |
|
DeleteLogType(LogTypeInfo)
Declaration
public virtual void DeleteLogType(LogTypeInfo logType)
Parameters
DeleteLogTypeConfigInfo(LogTypeConfigInfo)
Declaration
public virtual void DeleteLogTypeConfigInfo(LogTypeConfigInfo logTypeConfig)
Parameters
GetFactory()
Declaration
protected override Func<ILogController> GetFactory()
Returns
Overrides
GetLog(string)
Declaration
public virtual ILogInfo GetLog(string logGuid)
Parameters
Type |
Name |
Description |
string |
logGuid |
|
Returns
GetLogTypeConfigInfo()
Declaration
public virtual ArrayList GetLogTypeConfigInfo()
Returns
GetLogTypeConfigInfoByID(string)
Declaration
public virtual LogTypeConfigInfo GetLogTypeConfigInfoByID(string id)
Parameters
Type |
Name |
Description |
string |
id |
|
Returns
GetLogTypeInfoDictionary()
Declaration
public virtual Dictionary<string, LogTypeInfo> GetLogTypeInfoDictionary()
Returns
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
GetSingleLog(LogInfo, ReturnType)
Declaration
public virtual object GetSingleLog(LogInfo log, LoggingProvider.ReturnType returnType)
Parameters
Returns
PurgeLogBuffer()
Declaration
public void PurgeLogBuffer()
UpdateLogType(LogTypeInfo)
Declaration
public virtual void UpdateLogType(LogTypeInfo logType)
Parameters
UpdateLogTypeConfigInfo(LogTypeConfigInfo)
Declaration
public virtual void UpdateLogTypeConfigInfo(LogTypeConfigInfo logTypeConfig)
Parameters
Implements
Extension Methods