Show / Hide Table of Contents

Class NUnitLogConsumer

Represents the log consumer that writes logs to NUnit output.

Inheritance
System.Object
NUnitLogConsumer
Implements
ILogConsumer
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 NUnitLogConsumer : ILogConsumer

Properties

| Improve this Doc View Source

Separator

Gets or sets the text parts separator. The default value is " ".

Declaration
public string Separator { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

TimestampFormat

Gets or sets the timestamp format. The default value is "yyyy-MM-dd HH:mm:ss.ffff".

Declaration
public string TimestampFormat { get; set; }
Property Value
Type Description
System.String

Methods

| Improve this Doc View Source

Log(LogEventInfo)

Logs the specified event information.

Declaration
public void Log(LogEventInfo eventInfo)
Parameters
Type Name Description
LogEventInfo eventInfo

The event information.

Explicit Interface Implementations

| Improve this Doc View Source

ILogConsumer.Initialize(String)

Initializes the log consumer.

Declaration
void ILogConsumer.Initialize(string logPath)
Parameters
Type Name Description
System.String logPath

The path to log results to.

Implements

ILogConsumer
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX