imx.loggui.formatter
Class SimpleSelect
java.lang.Object
java.util.logging.Formatter
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
| 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 |
SimpleSelect
public SimpleSelect()
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)