imx.loggui.formatter
Class SimpleSelect

java.lang.Object
  extended by java.util.logging.Formatter
      extended by imx.loggui.formatter.SimpleSelect
All Implemented Interfaces:
NameInterface, java.io.Serializable

public class SimpleSelect
extends java.util.logging.Formatter
implements java.io.Serializable, NameInterface

This Formatter allows to select wich elements of the record should be part of the logged message. It can be configured with the SimpleSelectView.

See Also:
Serialized Form

Constructor Summary
SimpleSelect()
           
 
Method Summary
 java.lang.String format(java.util.logging.LogRecord record)
           
 java.lang.String getName()
           
 boolean isDate()
           
 boolean isLevel()
           
 boolean isLoggerName()
           
 boolean isMessage()
           
 boolean isNewLine1()
           
 boolean isNewLine2()
           
 boolean isNewLine3()
           
 boolean isSequenceNumber()
           
 boolean isSourceClassName()
           
 boolean isSourceMethodName()
           
 boolean isThreadID()
           
 boolean isTime()
           
 void setDate(boolean b)
           
 void setLevel(boolean b)
           
 void setLoggerName(boolean b)
           
 void setMessage(boolean b)
           
 void setName(java.lang.String name)
           
 void setNewLine1(boolean b)
           
 void setNewLine2(boolean b)
           
 void setNewLine3(boolean b)
           
 void setSequenceNumber(boolean b)
           
 void setSourceClassName(boolean b)
           
 void setSourceMethodName(boolean b)
           
 void setThreadID(boolean b)
           
 void setTime(boolean b)
           
 java.lang.String toString()
           
 
Methods inherited from class java.util.logging.Formatter
formatMessage, getHead, getTail
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SimpleSelect

public SimpleSelect()
Method Detail

format

public java.lang.String format(java.util.logging.LogRecord record)
Specified by:
format in class java.util.logging.Formatter

setName

public void setName(java.lang.String name)
Specified by:
setName in interface NameInterface

getName

public java.lang.String getName()
Specified by:
getName in interface NameInterface

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

isDate

public boolean isDate()

isLevel

public boolean isLevel()

isLoggerName

public boolean isLoggerName()

isMessage

public boolean isMessage()

isNewLine1

public boolean isNewLine1()

isNewLine2

public boolean isNewLine2()

isNewLine3

public boolean isNewLine3()

isSequenceNumber

public boolean isSequenceNumber()

isSourceClassName

public boolean isSourceClassName()

isSourceMethodName

public boolean isSourceMethodName()

isThreadID

public boolean isThreadID()

isTime

public boolean isTime()

setDate

public void setDate(boolean b)

setLevel

public void setLevel(boolean b)

setLoggerName

public void setLoggerName(boolean b)

setMessage

public void setMessage(boolean b)

setNewLine1

public void setNewLine1(boolean b)

setNewLine2

public void setNewLine2(boolean b)

setNewLine3

public void setNewLine3(boolean b)

setSequenceNumber

public void setSequenceNumber(boolean b)

setSourceClassName

public void setSourceClassName(boolean b)

setSourceMethodName

public void setSourceMethodName(boolean b)

setThreadID

public void setThreadID(boolean b)

setTime

public void setTime(boolean b)