Lucene.Net.Index.IndexWriter.Message C# (CSharp) Method

Message() public method

Prints a message to the infoStream (if non-null), prefixed with the identifying information for this writer and the thread that's calling it.
public Message ( System message ) : void
message System
return void
		public virtual void  Message(System.String message)
		{
			if (infoStream != null)
                infoStream.WriteLine("IW " + messageID + " [" + DateTime.Now.ToString() + "; " + ThreadClass.Current().Name + "]: " + message);
		}
		

Usage Example

Ejemplo n.º 1
0
 private void  Message(System.String message)
 {
     if (writer != null)
     {
         writer.Message("CMS: " + message);
     }
 }
All Usage Examples Of Lucene.Net.Index.IndexWriter::Message
IndexWriter