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

Package class diagram package 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 cz.cuni.amis.utils.logging.DefaultLogFormatter

Pogamut custom formatter used as default formatter for LogPublisher.

Author:
Jimmy

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
 String format(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 String format(LogRecord record)
Overrides:
format in class cz.cuni.amis.utils.logging.DefaultLogFormatter


Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.