Package xdevs.core.util
Class LoggerFormatter
- java.lang.Object
-
- java.util.logging.Formatter
-
- xdevs.core.util.LoggerFormatter
-
public class LoggerFormatter extends Formatter
Formatter for the xDEVS logger.
-
-
Field Summary
Fields Modifier and Type Field Description static LoggerFormatter
formatter
protected long
startTime
-
Constructor Summary
Constructors Constructor Description LoggerFormatter()
Constructor for the LoggerFormatter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
format(LogRecord record)
String
getElapsedTime(long currentTime)
Get the elapsed time since the start of the logger.-
Methods inherited from class java.util.logging.Formatter
formatMessage, getHead, getTail
-
-
-
-
Field Detail
-
formatter
public static final LoggerFormatter formatter
-
startTime
protected long startTime
-
-