Class NUnitLogConsumer
Represents the log consumer that writes logs to NUnit output.
Inheritance
System.Object
NUnitLogConsumer
Implements
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 SourceSeparator
Gets or sets the text parts separator.
The default value is " "
.
Declaration
public string Separator { get; set; }
Property Value
Type | Description |
---|---|
System.String |
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 SourceLog(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 SourceILogConsumer.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. |