public class SimpleCashierTrace extends java.lang.Object implements CashierTrace
cashierlog.4-digit year_2-digit month_2-digit date .For example,
cashierlog.2001_01_31 for trace generated on January 31, 2001.SimpleCashierTrace will write individual trace entries in the following format:
thread name | date | name of class which created the entry | name of method which created the entry | trace messageSimpleCashierTrace will throw a RunTimeException if it encounters an IOException while writing to its output file.
Constructor and Description |
---|
SimpleCashierTrace(java.lang.String logDirectory)
Deprecated.
Constructs a simple trace facility for use by the cashier.
|
Modifier and Type | Method and Description |
---|---|
void | trace(java.lang.String classname, java.lang.String methodname, java.lang.String message)
Deprecated.
Writes an entry to a trace file.
|
public SimpleCashierTrace(java.lang.String logDirectory) throws CashierException
public void trace(java.lang.String classname, java.lang.String methodname, java.lang.String message)