Show / Hide Table of Contents

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 Source

LogConsumerRegistration(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 Source

Consumer

Gets the consumer.

Declaration
public ILogConsumer Consumer { get; }
Property Value
Type Description
ILogConsumer
| Improve this Doc View Source

MinLevel

Gets or sets the minimum log level.

Declaration
public LogLevel MinLevel { get; set; }
Property Value
Type Description
LogLevel
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX