Package com.gargoylesoftware.base.trace
Class BashTraceWriter
- java.lang.Object
-
- com.gargoylesoftware.base.trace.BashTraceWriter
-
- All Implemented Interfaces:
TraceWriter
public class BashTraceWriter extends java.lang.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 Summary
Fields Modifier and Type Field Description private static java.lang.String
lastPrefix_
private static java.text.Format
TIMESTAMP_FORMAT
-
Constructor Summary
Constructors Constructor Description BashTraceWriter()
Create a new writer.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
write(TraceItem item)
Write the specified item.
-
-
-
Method Detail
-
write
public void write(TraceItem item)
Write the specified item.- Specified by:
write
in interfaceTraceWriter
- Parameters:
item
- The TraceItem to be written.
-
-