dist1.acb.common
Class LoggerFactory

java.lang.Object
  extended bydist1.acb.common.LoggerFactory

public class LoggerFactory
extends java.lang.Object

Factory for the loggers

Version:
$Revision: 1.1 $
Author:
Alexander Stasiv

Constructor Summary
LoggerFactory()
           
 
Method Summary
static java.util.logging.Logger getLogger(java.lang.Object forObject)
          Retrns logger for the object
static java.util.logging.Logger getLogger(java.lang.Object forObject, java.lang.String suffix)
          Retrns logger for the object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoggerFactory

public LoggerFactory()
Method Detail

getLogger

public static java.util.logging.Logger getLogger(java.lang.Object forObject)
Retrns logger for the object

Parameters:
forObject - The object
Returns:
The logger

getLogger

public static java.util.logging.Logger getLogger(java.lang.Object forObject,
                                                 java.lang.String suffix)
Retrns logger for the object

Parameters:
forObject - The object
suffix - A suffix for logger name
Returns:
The logger


Copyright © 2004 Phoenix Team (CMU/AIT). All Rights Reserved.