LogListenerConfiguration

Name Value
Assembly Catel.Core
Namespace Catel.Logging
Available on .NET Framework 4.5, .NET Framework 4.6
public class LogListenerConfiguration : ConfigurationElement

Base types ConfigurationElement

The log listener configuration element.

Fields

Constructors

LogListenerConfiguration()

Initializes a new instance of the LogListenerConfiguration class.

Properties

Type

Gets or sets the type.

Methods

GetLogListener(Assembly assembly)

Gets the log listener which this configuration represents.

Parameters

Name Description
assembly The assembly to load the product info from. Ifnull, the entry assembly will be used.

Returns

The ILogListener.

OnDeserializeUnrecognizedAttribute(string name, string value)

Gets a value indicating whether an unknown attribute is encountered during deserialization.

Parameters

Name Description
name The name of the unrecognized attribute.
value The value of the unrecognized attribute.

Returns

true when an unknown attribute is encountered while deserializing; otherwise, false.


Have a question about Catel? Use StackOverflow with the Catel tag!


Discussion