cz.cuni.amis.pogamut.base.utils.logging
Class LogFormatter

java.lang.Object
  extended by java.util.logging.Formatter
      extended by cz.cuni.amis.utils.logging.DefaultLogFormatter
          extended by cz.cuni.amis.pogamut.base.utils.logging.LogFormatter

public class LogFormatter
extends DefaultLogFormatter

Pogamut custom formatter used as default formatter for LogPublisher.


Field Summary
 
Fields inherited from class cz.cuni.amis.utils.logging.DefaultLogFormatter
lineEnd, lineEnds, name, whitespaces
 
Constructor Summary
LogFormatter()
           
LogFormatter(boolean lineEnds)
           
LogFormatter(IAgentId agentId)
           
LogFormatter(IAgentId agentId, boolean lineEnds)
           
 
Method Summary
 java.lang.String format(java.util.logging.LogRecord record)
           
 
Methods inherited from class java.util.logging.Formatter
formatMessage, getHead, getTail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogFormatter

public LogFormatter()

LogFormatter

public LogFormatter(boolean lineEnds)

LogFormatter

public LogFormatter(IAgentId agentId)

LogFormatter

public LogFormatter(IAgentId agentId,
                    boolean lineEnds)
Method Detail

format

public java.lang.String format(java.util.logging.LogRecord record)
Overrides:
format in class DefaultLogFormatter