|
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.logging.configuration.LogConfigurationImpl
public final class LogConfigurationImpl
Field Summary | |
---|---|
protected TargetsConfigurationImpl |
targets
|
Constructor Summary | |
---|---|
LogConfigurationImpl()
Creates the default configuration. |
Method Summary | |
---|---|
java.lang.String |
getApplicationHost()
The host of application to be used in the logs. |
int |
getApplicationId()
The Id of application to be used in the logs. |
java.lang.String |
getApplicationName()
The name of application to be used in the logs. |
int |
getApplicationType()
The type of application to be used in the logs. |
java.util.Map<java.lang.Integer,LogLevel> |
getLevelsReassignmentMap()
Specifies a log level for log event <eventID> that is different than its default
level, or disables log event <eventID> completely. |
java.lang.String |
getMessageFile()
Gets the name of application-specific lms file. |
TargetsConfiguration |
getTargets()
Gets the configuration of output targets. |
TimeUsage |
getTimeUsage()
Gets the time converting to be used in the logs. |
VerboseLevel |
getVerbose()
Gets the verbose level of the logger. |
java.lang.Boolean |
isLevelsReassignmentDisabled()
When this option is set to true, the original (default) log level of all log events in the [log-extended] section are restored.This option is useful when you want to use the default levels, but not delete the customization statements. |
void |
setApplicationHost(java.lang.String applicationHost)
|
void |
setApplicationId(int applicationId)
|
void |
setApplicationName(java.lang.String applicationName)
|
void |
setApplicationType(int applicationType)
|
void |
setLevelsReassignmentDisabled(java.lang.Boolean reassignmentDisabled)
|
void |
setLevelsReassignmentMap(java.util.Map<java.lang.Integer,LogLevel> reassignmentMap)
|
void |
setMessageFile(java.lang.String messageFile)
|
void |
setTimeUsage(TimeUsage timeUsage)
|
void |
setVerbose(VerboseLevel verbose)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected TargetsConfigurationImpl targets
Constructor Detail |
---|
public LogConfigurationImpl()
Method Detail |
---|
public TargetsConfiguration getTargets()
getTargets
in interface LogConfiguration
public java.lang.String getApplicationName()
LogConfiguration
getApplicationName
in interface LogConfiguration
public void setApplicationName(java.lang.String applicationName)
public java.lang.String getApplicationHost()
LogConfiguration
getApplicationHost
in interface LogConfiguration
public void setApplicationHost(java.lang.String applicationHost)
public int getApplicationType()
LogConfiguration
getApplicationType
in interface LogConfiguration
public void setApplicationType(int applicationType)
public int getApplicationId()
LogConfiguration
getApplicationId
in interface LogConfiguration
public void setApplicationId(int applicationId)
public TimeUsage getTimeUsage()
LogConfiguration
getTimeUsage
in interface LogConfiguration
public void setTimeUsage(TimeUsage timeUsage)
public VerboseLevel getVerbose()
LogConfiguration
getVerbose
in interface LogConfiguration
public void setVerbose(VerboseLevel verbose)
public java.lang.String getMessageFile()
LogConfiguration
getMessageFile
in interface LogConfiguration
public void setMessageFile(java.lang.String messageFile)
public java.lang.Boolean isLevelsReassignmentDisabled()
LogConfigurationExt
[log-extended]
section are restored.
isLevelsReassignmentDisabled
in interface LogConfigurationExt
LogConfigurationExt.getLevelsReassignmentMap()
public void setLevelsReassignmentDisabled(java.lang.Boolean reassignmentDisabled)
public java.util.Map<java.lang.Integer,LogLevel> getLevelsReassignmentMap()
LogConfigurationExt
<eventID>
that is different than its default
level, or disables log event <eventID>
completely. If no value is specified, the
log event retains its default level. This option is useful when you want to
customize the log level for selected log events."level-reassign-disable" option
(LogConfigurationExt.isLevelsReassignmentDisabled()
).
- Specified by:
getLevelsReassignmentMap
in interface LogConfigurationExt
- See Also:
LogConfigurationExt.isLevelsReassignmentDisabled()
public void setLevelsReassignmentMap(java.util.Map<java.lang.Integer,LogLevel> reassignmentMap)
public java.lang.String toString()
toString
in class java.lang.Object
|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |