Class NullInfoStream
Prints nothing. Just to make sure tests pass w/ and without enabled Lucene.Net.Util.InfoStream without actually making noise.
Note
This API is experimental and might change in incompatible ways in the next release.
Implements
Inherited Members
InfoStream.NO_OUTPUT
InfoStream.Default
InfoStream.Dispose()
InfoStream.Clone()
Namespace: Lucene.Net.Util
Assembly: Lucene.Net.TestFramework.dll
Syntax
public class NullInfoStream : InfoStream, IDisposable
Methods
Dispose(bool)
Disposes this Lucene.Net.Util.InfoStream
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
bool | disposing |
Overrides
IsEnabled(string)
Returns true
if messages are enabled and should be posted to Message(string, string).
Declaration
public override bool IsEnabled(string component)
Parameters
Type | Name | Description |
---|---|---|
string | component |
Returns
Type | Description |
---|---|
bool |
Overrides
Message(string, string)
Prints a message
Declaration
public override void Message(string component, string message)
Parameters
Type | Name | Description |
---|---|---|
string | component | |
string | message |