public class Ice4jLogFormatter extends Formatter
Modifier and Type | Field and Description |
---|---|
private static String |
lineSeparator |
(package private) static long |
startTime |
private static DecimalFormat |
threeDigFmt |
private static DecimalFormat |
twoDigFmt |
Constructor and Description |
---|
Ice4jLogFormatter() |
Modifier and Type | Method and Description |
---|---|
String |
format(LogRecord record)
Format the given LogRecord.
|
private int |
inferCaller(LogRecord record)
Try to extract the name of the class and method that called the current
log statement.
|
formatMessage, getHead, getTail
static long startTime
private static String lineSeparator
private static DecimalFormat twoDigFmt
private static DecimalFormat threeDigFmt
private int inferCaller(LogRecord record)
record
- the logrecord where class and method name should be stored.Copyright © 2018. All rights reserved.