Class BashTraceWriter

java.lang.Object
com.gargoylesoftware.base.trace.BashTraceWriter
All Implemented Interfaces:
TraceWriter

public class BashTraceWriter extends Object implements TraceWriter
A trace writer specifically designed for the bash shell. The reason it requires "bash" is that is colour codes the tracing using bash specific escape codes.
Version:
$Revision: 1.3 $
  • Field Details

    • lastPrefix_

      private static String lastPrefix_
    • TIMESTAMP_FORMAT

      private static final Format TIMESTAMP_FORMAT
  • Constructor Details

    • BashTraceWriter

      public BashTraceWriter()
      Create a new writer.
  • Method Details

    • write

      public void write(TraceItem item)
      Write the specified item.
      Specified by:
      write in interface TraceWriter
      Parameters:
      item - The TraceItem to be written.