com.tibco.rta.log
Class LoggerFactory

java.lang.Object
  extended by com.tibco.rta.log.LoggerFactory

public class LoggerFactory
extends java.lang.Object

Factory class to get a logger.


Field Summary
static LoggerFactory INSTANCE
          The logger instance.
 
Method Summary
static Logger getLogger(java.lang.Class<?> clazz)
          Get a logger
static Logger getLogger(java.lang.String name)
          Get a logger.
static void init(java.lang.String loggerClassName)
          Initialize the logger with a class name.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final LoggerFactory INSTANCE
The logger instance.

Method Detail

init

public static void init(java.lang.String loggerClassName)
Initialize the logger with a class name.

Parameters:
loggerClassName - the class name to initialize the logger with.

getLogger

public static Logger getLogger(java.lang.String name)
Get a logger.

Parameters:
name - name of the logger to get.
Returns:
the logger.

getLogger

public static Logger getLogger(java.lang.Class<?> clazz)
Get a logger

Parameters:
clazz - the class for which a logger is desired.
Returns:
the logger.


Copyright © 2000-2014 TIBCO Inc. All Rights Reserved.