- Direct Known Subclasses:
- ConsoleTGLogFormatter
public class HumanReadableTGLogFormatter
extends BasicTGLogFormatter
A HumanReadableTGFormatter can be used to format LogRecords as a record of a
packet transmission. The LogRecords in question should include the size, in
bytes, of the packet as a parameter, if this information is desired in the
log; if no parameter is included, the size column will be blank. Output from
this formatter will consist of columns for the absolute time and size in
bytes (in that order) of packets sent, plus a header including the date and
time on which logging began.
This formatter extends the BasicTGLogFormatter and just adds a header to the
file. The formatted log records themselves are exactly the same as in
BasicTGLogFormatter.
- Author:
- Kira Lindburg