Platform SDK Java 8.5 API Reference

com.genesyslab.platform.logging.configuration
Interface TargetConfiguration

All Known Subinterfaces:
FileConfiguration, NetworkTargetConfiguration
All Known Implementing Classes:
FileConfigurationImpl, FileConfigurationReadOnly, NetworkTargetConfigurationImpl, NetworkTargetConfigurationReadOnly, TargetConfigurationImpl, TargetConfigurationReadOnly

public interface TargetConfiguration

Provides the description of options which are common for all output targets.


Method Summary
 java.lang.String getFilter()
           
 MessageHeaderFormat getMessageHeaderFormat()
          Describes the way of formatting the log message header.
 VerboseLevel getVerbose()
          Gets the minimal level of message, which can be logged into the output.
 boolean isEnabled()
          Gets the enabled status of target.
 boolean isReadOnly()
          True, if object is used for reading info only.
 void setEnabled(boolean enabled)
          Sets the enabled status of target.
 void setFilter(java.lang.String filter)
           
 void setMessageHeaderFormat(MessageHeaderFormat value)
           
 void setVerbose(VerboseLevel level)
          Gets the minimal level of message, which can be logged into the output.
 

Method Detail

isEnabled

boolean isEnabled()
Gets the enabled status of target. If true - the output into target being described is enabled. If 'false' - no output is possible (regardless of Verbose).


setEnabled

void setEnabled(boolean enabled)
Sets the enabled status of target. If true - the output into target being described is enabled. If 'false' - no output is possible (regardless of Verbose).


getVerbose

VerboseLevel getVerbose()
Gets the minimal level of message, which can be logged into the output.


setVerbose

void setVerbose(VerboseLevel level)
Gets the minimal level of message, which can be logged into the output.


isReadOnly

boolean isReadOnly()
True, if object is used for reading info only.


getFilter

java.lang.String getFilter()

setFilter

void setFilter(java.lang.String filter)

getMessageHeaderFormat

MessageHeaderFormat getMessageHeaderFormat()
Describes the way of formatting the log message header. Configuration.getMessageHeaderFormat() for more info.


setMessageHeaderFormat

void setMessageHeaderFormat(MessageHeaderFormat value)

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.