Package de.intarsys.tools.logging
Class SimpleFormatter
java.lang.Object
java.util.logging.Formatter
de.intarsys.tools.logging.SimpleFormatter
A simple usable formatter for java logging
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected boolean
getBooleanProperty
(String name, boolean defaultValue) protected int
getIntProperty
(String name, int defaultValue) int
int
int
int
boolean
boolean
boolean
boolean
boolean
void
setShowDate
(boolean showDate) void
setShowLevel
(boolean showLevel) void
setShowName
(boolean showName) void
setShowSDC
(boolean showSDC) void
setShowThread
(boolean showThread) void
setWidthLevel
(int widthLevel) void
setWidthName
(int widthLoggername) void
setWidthSDC
(int widthSDC) void
setWidthThread
(int widthThread) Methods inherited from class java.util.logging.Formatter
formatMessage, getHead, getTail
-
Constructor Details
-
SimpleFormatter
public SimpleFormatter()
-
-
Method Details
-
configure
protected void configure() -
format
-
getBooleanProperty
-
getIntProperty
-
getWidthLevel
public int getWidthLevel() -
getWidthName
public int getWidthName() -
getWidthSDC
public int getWidthSDC() -
getWidthThread
public int getWidthThread() -
isShowDate
public boolean isShowDate() -
isShowLevel
public boolean isShowLevel() -
isShowName
public boolean isShowName() -
isShowSDC
public boolean isShowSDC() -
isShowThread
public boolean isShowThread() -
setShowDate
public void setShowDate(boolean showDate) -
setShowLevel
public void setShowLevel(boolean showLevel) -
setShowName
public void setShowName(boolean showName) -
setShowSDC
public void setShowSDC(boolean showSDC) -
setShowThread
public void setShowThread(boolean showThread) -
setWidthLevel
public void setWidthLevel(int widthLevel) -
setWidthName
public void setWidthName(int widthLoggername) -
setWidthSDC
public void setWidthSDC(int widthSDC) -
setWidthThread
public void setWidthThread(int widthThread)
-