|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.webbeans.cfg.WbComponentConfig
com.caucho.config.types.BeanConfig
com.caucho.log.LogHandlerConfig
public class LogHandlerConfig
Configures a log handler
| Field Summary |
|---|
| Fields inherited from class com.caucho.webbeans.cfg.WbComponentConfig |
|---|
_comp |
| Constructor Summary | |
|---|---|
LogHandlerConfig()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getFormat()
A format string uses EL expressions and the EL variable `log', which is an instance of LogRecord. |
java.lang.String |
getLevel()
Sets the output level. |
java.lang.String |
getTagName()
Returns the tag name. |
void |
init()
Initialize the log. |
void |
setArchiveFormat(java.lang.String archiveFormat)
Sets the archive-format |
void |
setFilter(java.util.logging.Filter filter)
Sets the filter. |
void |
setFormat(RawString format)
A format string uses EL expressions and the EL variable `log', which is an instance of LogRecord. |
void |
setFormatter(java.util.logging.Formatter formatter)
Sets the formatter. |
void |
setId(java.lang.String name)
Deprecated. Use setName() |
void |
setLevel(java.lang.String level)
Sets the output level. |
void |
setPath(Path path)
Sets the path |
void |
setPathFormat(java.lang.String pathFormat)
Sets the path-format |
void |
setRolloverCount(int count)
Sets the rollover-count |
void |
setRolloverPeriod(Period rolloverPeriod)
Sets the rollover-period |
void |
setRolloverSize(Bytes size)
Sets the rollover-size |
void |
setTimestamp(java.lang.String timestamp)
Sets the timestamp. |
void |
setUseParentHandlers(boolean useParentHandlers)
Sets the use-parent-handlers |
| Methods inherited from class com.caucho.config.types.BeanConfig |
|---|
getBeanConfigClass, getDefaultScope, getFilename, getLine, getMBeanName, getUri, introspectPostInit, setBeanConfigClass, setClass, setConfigLocation, setJndiName, setMbeanClass, setMbeanInterface, setMbeanName, setType, setUri |
| Methods inherited from class com.caucho.webbeans.cfg.WbComponentConfig |
|---|
addBinding, addOptionalStringProperty, addParam, addStringProperty, createObjectNoInit, deploy, getBindingList, getClassType, getComponent, getComponentFactory, getComponentType, getInit, getName, getObject, getType, setComponentType, setInit, setName, setScope |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LogHandlerConfig()
| Method Detail |
|---|
public void setId(java.lang.String name)
public void setPath(Path path)
public void setPathFormat(java.lang.String pathFormat)
public void setArchiveFormat(java.lang.String archiveFormat)
public void setRolloverPeriod(Period rolloverPeriod)
public void setRolloverSize(Bytes size)
public void setRolloverCount(int count)
public void setUseParentHandlers(boolean useParentHandlers)
throws ConfigException
ConfigException
public void setLevel(java.lang.String level)
throws ConfigException
ConfigExceptionpublic java.lang.String getLevel()
public void setTimestamp(java.lang.String timestamp)
public void setFormat(RawString format)
public java.lang.String getFormat()
public void setFormatter(java.util.logging.Formatter formatter)
public void setFilter(java.util.logging.Filter filter)
public java.lang.String getTagName()
getTagName in class WbComponentConfig
public void init()
throws ConfigException
init in class BeanConfigConfigException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||