Platform SDK Java 8.5 API Reference

com.genesyslab.platform.commons.log
Class SimpleLoggerFactoryImpl

java.lang.Object
  extended by com.genesyslab.platform.commons.log.SimpleLoggerFactoryImpl
All Implemented Interfaces:
ILoggerFactory

public class SimpleLoggerFactoryImpl
extends java.lang.Object
implements ILoggerFactory

Built-in implementation of Platform SDK Commons Logger Factory to send log events to System.out.
It may be initialized with log level parameter of messages to be passed for printing. This value may be explicitly passed to the factory constructor or initialized to override default value with PsdkCustomization option - PsdkCustomization/PsdkCustomization.PsdkOption.PsdkLoggerConsoleLevel.


Constructor Summary
SimpleLoggerFactoryImpl()
           
SimpleLoggerFactoryImpl(int level)
           
SimpleLoggerFactoryImpl(java.io.PrintStream printStream)
           
SimpleLoggerFactoryImpl(java.io.PrintStream printStream, int level)
           
 
Method Summary
 ILogger getLogger(java.lang.Class clazz)
           
 ILogger getLogger(java.lang.String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleLoggerFactoryImpl

public SimpleLoggerFactoryImpl()

SimpleLoggerFactoryImpl

public SimpleLoggerFactoryImpl(int level)

SimpleLoggerFactoryImpl

public SimpleLoggerFactoryImpl(java.io.PrintStream printStream)

SimpleLoggerFactoryImpl

public SimpleLoggerFactoryImpl(java.io.PrintStream printStream,
                               int level)
Method Detail

getLogger

public ILogger getLogger(java.lang.String name)
Specified by:
getLogger in interface ILoggerFactory

getLogger

public ILogger getLogger(java.lang.Class clazz)
Specified by:
getLogger in interface ILoggerFactory

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.