Configuration Platform SDK 7.6 API Reference

Package com.genesyslab.platform.commons.log

This package provides logging support for your applications.

See:
          Description

Interface Summary
ILogEnabled This interface can be implemented by components that need to add loggging capabilities.
ILogger This is a facade for the different logging subsystems.
ILoggerFactory  
 

Class Summary
AbstractLogEnabled This class makes it easy to add logging to components that need it.
AbstractLogger Base class for loggers
GlobalLogger Support utility (static) classes in instance-dependent logging configuration.
Log  
Log4JLoggerFactoryImpl  
Log4JLoggerImpl  
NullLoggerFactoryImpl  
NullLoggerImpl This class is useful for situations where you need to provide a logger to a utility class, but do not want any output from it.
 

Package com.genesyslab.platform.commons.log Description

This package provides logging support for your applications. This is primarily made available through the AbstractLogEnabled class, which is the base class for the Protocol classes.

To set up logging in your application, use the EnableLogging() method of your Protocol objects.

Here is a sample:

tServerProtocol.enableLogging(new ConsoleLogger());

For general information on the structure and usage of the Platform SDKs, please refer to the Welcome page at the beginning of this guide.


Configuration Platform SDK 7.6 API Reference

Send comments on this topic.
Copyright © 2006–2008 Genesys Telecommunication Laboratories, Inc. All rights reserved.