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

Interface IEventLogConfigService

The event log config service provides APIs for managing the Event Log configuration and individual logs itself.

Namespace: DotNetNuke.Abstractions.Logging
Assembly: DotNetNuke.Abstractions.dll
Syntax
public interface IEventLogConfigService

Methods

| Improve this Doc View Source

AddLogType(ILogTypeInfo)

Adds a ILogTypeInfo to the database.

Declaration
void AddLogType(ILogTypeInfo logType)
Parameters
Type Name Description
ILogTypeInfo logType

The log type.

| Improve this Doc View Source

AddLogType(String, String)

Adds the log type via configuration file.

Declaration
void AddLogType(string configFile, string fallbackConfigFile)
Parameters
Type Name Description
System.String configFile

The configuration file.

System.String fallbackConfigFile

The fallback configuration file.

| Improve this Doc View Source

AddLogTypeConfigInfo(ILogTypeConfigInfo)

Adds a ILogTypeConfigInfo to the database.

Declaration
void AddLogTypeConfigInfo(ILogTypeConfigInfo logTypeConfig)
Parameters
Type Name Description
ILogTypeConfigInfo logTypeConfig

The log type configuration.

| Improve this Doc View Source

DeleteLogType(ILogTypeInfo)

Deletes an existing ILogTypeInfo from the database.

Declaration
void DeleteLogType(ILogTypeInfo logType)
Parameters
Type Name Description
ILogTypeInfo logType

The log type.

| Improve this Doc View Source

DeleteLogTypeConfigInfo(ILogTypeConfigInfo)

Delete an existing ILogTypeConfigInfo from the database..

Declaration
void DeleteLogTypeConfigInfo(ILogTypeConfigInfo logTypeConfig)
Parameters
Type Name Description
ILogTypeConfigInfo logTypeConfig

The log type config.

| Improve this Doc View Source

GetLogTypeConfigInfo()

Gets all the ILogTypeConfigInfo from the database.

Declaration
IEnumerable<ILogTypeConfigInfo> GetLogTypeConfigInfo()
Returns
Type Description
IEnumerable<ILogTypeConfigInfo>

The logs.

| Improve this Doc View Source

GetLogTypeConfigInfoByID(String)

Get the ILogTypeConfigInfo by id..

Declaration
ILogTypeConfigInfo GetLogTypeConfigInfoByID(string id)
Parameters
Type Name Description
System.String id

The id.

Returns
Type Description
ILogTypeConfigInfo

The log type config info.

| Improve this Doc View Source

GetLogTypeInfoDictionary()

Gets the log type info dictionary.

Declaration
IDictionary<string, ILogTypeInfo> GetLogTypeInfoDictionary()
Returns
Type Description
IDictionary<System.String, ILogTypeInfo>

The dictionary.

| Improve this Doc View Source

UpdateLogType(ILogTypeInfo)

Update the log type.

Declaration
void UpdateLogType(ILogTypeInfo logType)
Parameters
Type Name Description
ILogTypeInfo logType

The log type info.

| Improve this Doc View Source

UpdateLogTypeConfigInfo(ILogTypeConfigInfo)

UPdate the log type config info.

Declaration
void UpdateLogTypeConfigInfo(ILogTypeConfigInfo logTypeConfig)
Parameters
Type Name Description
ILogTypeConfigInfo logTypeConfig

The log type config.

Extension Methods

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