Class LogConsumerRegistration
Represents the registration item of ILogConsumer.
Inheritance
System.Object
LogConsumerRegistration
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Relativity.Testing.Framework.Logging
Assembly: Relativity.Testing.Framework.dll
Syntax
public class LogConsumerRegistration
Constructors
| Improve this Doc View SourceLogConsumerRegistration(ILogConsumer, LogLevel)
Initializes a new instance of the LogConsumerRegistration class.
Declaration
public LogConsumerRegistration(ILogConsumer consumer, LogLevel minLevel = LogLevel.Trace)
Parameters
Type | Name | Description |
---|---|---|
ILogConsumer | consumer | The log consumer. |
LogLevel | minLevel | The minimum log level. |
Properties
| Improve this Doc View SourceConsumer
Gets the consumer.
Declaration
public ILogConsumer Consumer { get; }
Property Value
Type | Description |
---|---|
ILogConsumer |
MinLevel
Gets or sets the minimum log level.
Declaration
public LogLevel MinLevel { get; set; }
Property Value
Type | Description |
---|---|
LogLevel |