Platform SDK Java 8.5 API Reference

com.genesyslab.platform.logging.runtime.configuration
Class LogConfigurationReadOnly

java.lang.Object
  extended by com.genesyslab.platform.logging.runtime.configuration.LogConfigurationReadOnly
All Implemented Interfaces:
LogConfiguration, LogConfigurationExt

public final class LogConfigurationReadOnly
extends java.lang.Object
implements LogConfigurationExt


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

LogConfigurationReadOnly

public LogConfigurationReadOnly(LogConfiguration sourceConfig)
                         throws LoggerException
Throws:
LoggerException
Method Detail

getApplicationName

public java.lang.String getApplicationName()
The name of application to be used in the logs.

Specified by:
getApplicationName in interface LogConfiguration

getApplicationHost

public java.lang.String getApplicationHost()
The host of application to be used in the logs.

Specified by:
getApplicationHost in interface LogConfiguration

getApplicationType

public int getApplicationType()
The type of application to be used in the logs.

Specified by:
getApplicationType in interface LogConfiguration

getApplicationId

public int getApplicationId()
The Id of application to be used in the logs.

Specified by:
getApplicationId in interface LogConfiguration

getTimeUsage

public TimeUsage getTimeUsage()
Gets the time converting to be used in the logs. See TimeUsage for more info.

Specified by:
getTimeUsage in interface LogConfiguration

getVerbose

public VerboseLevel getVerbose()
Gets the verbose level of the logger. See VerboseLevel for more info.

Specified by:
getVerbose in interface LogConfiguration

getMessageFile

public java.lang.String getMessageFile()
Gets the name of application-specific lms file. If null - the pattern 'ApplicationName'.lms will be used.

Specified by:
getMessageFile in interface LogConfiguration

isLevelsReassignmentDisabled

public java.lang.Boolean isLevelsReassignmentDisabled()
Description copied from interface: LogConfigurationExt
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.

Specified by:
isLevelsReassignmentDisabled in interface LogConfigurationExt
See Also:
LogConfigurationExt.getLevelsReassignmentMap()

getLevelsReassignmentMap

public java.util.Map<java.lang.Integer,LogLevel> getLevelsReassignmentMap()
Description copied from interface: LogConfigurationExt
Specifies a log level for log event <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.
These options can be deactivated with option "level-reassign-disable" option (LogConfigurationExt.isLevelsReassignmentDisabled()).

Specified by:
getLevelsReassignmentMap in interface LogConfigurationExt
See Also:
LogConfigurationExt.isLevelsReassignmentDisabled()

getTargets

public TargetsConfiguration getTargets()
The configuration of output targets.

Specified by:
getTargets in interface LogConfiguration

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

Platform SDK Java 8.5 API Reference

Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 8.5.302.00
Copyright © 2006–2017 Genesys Telecommunications Laboratories, Inc. All rights reserved.