Class AgentFileFormatter
java.lang.Object
java.util.logging.Formatter
madkit.logging.AgentFormatter
madkit.logging.AgentFileFormatter
This class extends the AgentFormatter to provide a specific file formatter for agents.
It overrides the getHeader method to return an empty StringBuilder.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringBuilder
Returns an empty StringBuilder as the header for the log record.Methods inherited from class madkit.logging.AgentFormatter
format
Methods inherited from class java.util.logging.Formatter
formatMessage, getHead, getTail
-
Constructor Details
-
AgentFileFormatter
public AgentFileFormatter()
-
-
Method Details
-
getHeader
Returns an empty StringBuilder as the header for the log record.- Overrides:
getHeader
in classAgentFormatter
- Parameters:
record
- the log record for which the header is to be returned- Returns:
- an empty StringBuilder
-