Show / Hide Table of Contents

    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
    Inheritance
    System.Object
    InfoStream
    TextWriterInfoStream
    Namespace: Lucene.Net.Util
    Assembly: Lucene.Net.dll
    Syntax
    public abstract class InfoStream : IDisposable

    Fields

    | Improve this Doc View Source

    NO_OUTPUT

    Instance of InfoStream that does no logging at all.

    Declaration
    public static readonly InfoStream NO_OUTPUT
    Field Value
    Type Description
    InfoStream

    Properties

    | Improve this Doc View Source

    Default

    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 Source

    Clone()

    Clones this InfoStream

    Declaration
    public virtual object Clone()
    Returns
    Type Description
    System.Object
    | Improve this Doc View Source

    Dispose()

    Disposes this InfoStream

    Declaration
    public void Dispose()
    | Improve this Doc View Source

    Dispose(Boolean)

    Disposes this InfoStream

    Declaration
    protected virtual void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing
    | Improve this Doc View Source

    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
    | Improve this Doc View Source

    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
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)