|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.genesyslab.platform.apptemplate.configuration.log.CustomLoggerExtConfig
public class CustomLoggerExtConfig
Platform SDK specific extended logging configuration option for applying of custom properties
on loggers configuration.
It represents single logger configuration record in "log-extended" section of CME Application Options.
[log-extended]
"logger-<ID>" = "<logger.name>: level=debug, additivity=false"
It's included in GAppLogExtOptions
, which may contain list of such descriptions,
and is a part of GAppLoggingOptions
.true
if the logger should be additive,
false
otherwise;
GAppLogExtOptions
,
GAppLoggingOptions
Constructor Summary | |
---|---|
CustomLoggerExtConfig(java.lang.String loggerId,
java.lang.String loggerExtOpts)
Creates extended logger configuration options description structure. |
Method Summary | |
---|---|
CustomLoggerExtConfig |
clone()
|
java.lang.String |
getId()
Returns identifier of the custom logger record. |
java.lang.String |
getName()
Returns the custom logger name. |
java.util.Map<java.lang.String,java.lang.String> |
getProperties()
Returns the custom logger configuration properties. |
java.lang.String |
getProperty(java.lang.String name)
Returns property value of the custom logger configuration. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CustomLoggerExtConfig(java.lang.String loggerId, java.lang.String loggerExtOpts)
loggerId
- the ID of the logger customization record.loggerExtOpts
- the logger extended options.
java.lang.IllegalArgumentException
- if given arguments contain null
or insufficient value.GAppLogExtOptions
Method Detail |
---|
public CustomLoggerExtConfig clone()
clone
in class java.lang.Object
public java.lang.String getId()
public java.lang.String getName()
public java.lang.String getProperty(java.lang.String name)
name
- the property name.
public java.util.Map<java.lang.String,java.lang.String> getProperties()
|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |