-
Notifications
You must be signed in to change notification settings - Fork 35
T_CodeJam_PerfTests_Loggers_HostLogger
andrewvk edited this page Nov 8, 2016
·
3 revisions
Basic logger implementation for unit test runners
System.Object
CodeJam.PerfTests.Loggers.HostLogger
CodeJam.PerfTests.Running.Core.CompetitionRunnerBase.HostLogger
Namespace: CodeJam.PerfTests.Loggers
Assembly: CodeJam.PerfTests (in CodeJam.PerfTests.dll) Version: 1.1.0.0 (1.1.0.0)
C#
public class HostLogger
VB
Public Class HostLogger
F#
type HostLogger = class end
The HostLogger type exposes the following members.
Name | Description | |
---|---|---|
HostLogger | Initializes a new instance of the HostLogger class. |
Name | Description | |
---|---|---|
LogMode | Host logging mode. | |
WrappedLogger | The logger to redirect the output. |
Name | Description | |
---|---|---|
BeginLogImportant | All messages within the scope will be passed to the log. | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
FlushLoggers | Flushes the loggers. | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
PreprocessLine | Handles well-known prefixes for the line. | |
ShouldWrite | Checks if the line should be written. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
Write | Write the text. | |
WriteLine() | Write empty line. | |
WriteLine(LogKind, String) | Write the line. |
Name | Description | |
---|---|---|
LogImportantAreaEnd | The end prefix for important log area. Lines between start and end prefixes will be written even if HostLogMode filter applied. | |
LogImportantAreaStart | The start prefix for important log area. Lines between start and end prefixes will be written even if HostLogMode filter applied. | |
LogImportantInfoPrefix | The prefix for important log lines. Lines with this prefix will be written even if HostLogMode filter applied. | |
LogInfoPrefix | The prefix for informational log lines. Lines with this prefix will be written even if HostLogMode filter applied. | |
LogVerbosePrefix | The prefix for verbose log lines. Lines with this prefix will be written only if AllMessages mode set. |