public class ConsoleTGLogFormatter
extends HumanReadableTGLogFormatter
A ConsoleTGLogFormatter 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 will not be output. Output from
this formatter will consist of the absolute time a packet was sent and packet
size in bytes (if the packet size was provided) as a plaintext message.
- Author:
- Kira Lindburg