Platform SDK Java 8.5 API Reference

com.genesyslab.platform.apptemplate.configuration.log
Class CustomLoggerExtConfig

java.lang.Object
  extended by com.genesyslab.platform.apptemplate.configuration.log.CustomLoggerExtConfig
All Implemented Interfaces:
java.lang.Cloneable

public class CustomLoggerExtConfig
extends java.lang.Object
implements java.lang.Cloneable

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.

For example:

 [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.
The custom logger declaration supports following custom properties:

See Also:
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

CustomLoggerExtConfig

public CustomLoggerExtConfig(java.lang.String loggerId,
                             java.lang.String loggerExtOpts)
Creates extended logger configuration options description structure.

Parameters:
loggerId - the ID of the logger customization record.
loggerExtOpts - the logger extended options.
Throws:
java.lang.IllegalArgumentException - if given arguments contain null or insufficient value.
See Also:
GAppLogExtOptions
Method Detail

clone

public CustomLoggerExtConfig clone()
Overrides:
clone in class java.lang.Object

getId

public java.lang.String getId()
Returns identifier of the custom logger record.

Returns:
the custom logger configuration identifier.

getName

public java.lang.String getName()
Returns the custom logger name.

Returns:
the custom logger name.

getProperty

public java.lang.String getProperty(java.lang.String name)
Returns property value of the custom logger configuration.

Parameters:
name - the property name.
Returns:
value of the logger configuration property.

getProperties

public java.util.Map<java.lang.String,java.lang.String> getProperties()
Returns the custom logger configuration properties.

Returns:
map with logger configuration properties.

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.