|
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.runtime.configuration.LogConfigurationReadOnly
public final class LogConfigurationReadOnly
Constructor Summary | |
---|---|
LogConfigurationReadOnly(LogConfiguration sourceConfig)
|
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()
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. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public LogConfigurationReadOnly(LogConfiguration sourceConfig) throws LoggerException
LoggerException
Method Detail |
---|
public java.lang.String getApplicationName()
getApplicationName
in interface LogConfiguration
public java.lang.String getApplicationHost()
getApplicationHost
in interface LogConfiguration
public int getApplicationType()
getApplicationType
in interface LogConfiguration
public int getApplicationId()
getApplicationId
in interface LogConfiguration
public TimeUsage getTimeUsage()
TimeUsage
for more info.
getTimeUsage
in interface LogConfiguration
public VerboseLevel getVerbose()
VerboseLevel
for more info.
getVerbose
in interface LogConfiguration
public java.lang.String getMessageFile()
getMessageFile
in interface LogConfiguration
public java.lang.Boolean isLevelsReassignmentDisabled()
LogConfigurationExt
[log-extended]
section are restored.
isLevelsReassignmentDisabled
in interface LogConfigurationExt
LogConfigurationExt.getLevelsReassignmentMap()
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 TargetsConfiguration getTargets()
getTargets
in interface LogConfiguration
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 |