Class InfoStream
Debugging API for Lucene classes such as IndexWriter and SegmentInfos.
NOTE: Enabling infostreams may cause performance degradation in some components.
This is a Lucene.NET INTERNAL API, use at your own risk
Implements
System.IDisposable
  Inherited Members
      System.Object.Equals(System.Object)
    
    
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.GetHashCode()
    
    
      System.Object.GetType()
    
    
      System.Object.MemberwiseClone()
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
    
      System.Object.ToString()
    
  Namespace: Lucene.Net.Util
Assembly: Lucene.Net.dll
Syntax
public abstract class InfoStream : IDisposableFields
| Improve this Doc View SourceNO_OUTPUT
Instance of InfoStream that does no logging at all.
Declaration
public static readonly InfoStream NO_OUTPUTField Value
| Type | Description | 
|---|---|
| InfoStream | 
Properties
| Improve this Doc View SourceDefault
Gets or Sets the default InfoStream used by a newly instantiated classes.
Declaration
public static InfoStream Default { get; set; }Property Value
| Type | Description | 
|---|---|
| InfoStream | 
Methods
| Improve this Doc View SourceClone()
Clones this InfoStream
Declaration
public virtual object Clone()Returns
| Type | Description | 
|---|---|
| System.Object | 
Dispose()
Disposes this InfoStream
Declaration
public void Dispose()Dispose(Boolean)
Disposes this InfoStream
Declaration
protected virtual void Dispose(bool disposing)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Boolean | disposing | 
IsEnabled(String)
Returns true if messages are enabled and should be posted to Message(String, String). 
Declaration
public abstract bool IsEnabled(string component)Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | component | 
Returns
| Type | Description | 
|---|---|
| System.Boolean | 
Message(String, String)
Prints a message
Declaration
public abstract void Message(string component, string message)Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | component | |
| System.String | message | 
Implements
      System.IDisposable