intarsys runtime library

de.intarsys.tools.logging
Class SimpleFormatter

java.lang.Object
  extended by java.util.logging.Formatter
      extended by de.intarsys.tools.logging.SimpleFormatter

public class SimpleFormatter
extends Formatter

A simple usable formatter for java logging


Constructor Summary
SimpleFormatter()
           
 
Method Summary
 String format(LogRecord record)
           
 boolean isShowDate()
           
 boolean isShowLevel()
           
 boolean isShowName()
           
 boolean isShowThread()
           
 void setShowDate(boolean showDate)
           
 void setShowLevel(boolean showLevel)
           
 void setShowName(boolean showName)
           
 void setShowThread(boolean showThread)
           
 
Methods inherited from class java.util.logging.Formatter
formatMessage, getHead, getTail
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleFormatter

public SimpleFormatter()
Method Detail

format

public String format(LogRecord record)
Specified by:
format in class Formatter

isShowDate

public boolean isShowDate()

isShowLevel

public boolean isShowLevel()

isShowName

public boolean isShowName()

isShowThread

public boolean isShowThread()

setShowDate

public void setShowDate(boolean showDate)

setShowLevel

public void setShowLevel(boolean showLevel)

setShowName

public void setShowName(boolean showName)

setShowThread

public void setShowThread(boolean showThread)

intarsys runtime library

Copyright © 2008 intarsys consulting GmbH. All Rights Reserved.