format
public java.lang.String format(java.util.logging.LogRecord record)
Formats the provided log record as a packet transmission. Assumes the
provided log record does indeed represent a packet transmission and no
attempt is made to verify. The first parameter for the LogRecord, if
provided, should contain the size, in bytes, of the packet which was
sent.
- Specified by:
format in class java.util.logging.Formatter
- Returns:
- the formatted log record. The returned string includes the
milliseconds (since 1970) from the log record, and the size of the packet
if a parameter was provided to the log record.