examples.trace
Class MQeTraceToFile
java.lang.Object
|
+--examples.trace.MQeTrace
|
+--examples.trace.MQeTraceToFile
- All Implemented Interfaces:
- MQeTraceHandler
- public class MQeTraceToFile
- extends MQeTrace
To trace a collection of trace messages to a file on disk.
Both the stdout and stderr streams are captured in the same file.
The file in which trace information is placed is dynamically named,
starting with the prefix mqe_trace_ followed by the current time
expressed in milliseconds, followed by the .txt file extension.
Method Summary |
void |
activate(java.lang.String title)
Common activation code |
boolean |
display(long groups)
decide if the template is viewable or not |
void |
finalize()
|
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
version
public static short[] version
outputFileNameStart
public static final java.lang.String outputFileNameStart
- See Also:
- Constant Field Values
outputFileNameEnd
public static final java.lang.String outputFileNameEnd
- See Also:
- Constant Field Values
MQeTraceToFile
public MQeTraceToFile()
activate
public void activate(java.lang.String title)
- Description copied from class:
MQeTrace
- Common activation code
- Overrides:
activate
in class MQeTrace
finalize
public void finalize()
- Overrides:
finalize
in class java.lang.Object
display
public boolean display(long groups)
- Description copied from class:
MQeTrace
- decide if the template is viewable or not
- Overrides:
display
in class MQeTrace