com.resilientedge.util.logger
Class LoggerManager

java.lang.Object
  |
  +--com.resilientedge.util.logger.LoggerManager

public class LoggerManager
extends java.lang.Object

Author:
jbs

Field Summary
static java.lang.String LOG_SERVICE
          Description of the Field
 
Constructor Summary
LoggerManager()
           
 
Method Summary
static Logger getDefault()
          This method will attempt to locate a more highly configured logger from the Log Factory.
static void setDefault(Logger logger)
          Set the instance that will be returned by getInstance().
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG_SERVICE

public static final java.lang.String LOG_SERVICE
Description of the Field
Constructor Detail

LoggerManager

public LoggerManager()
Method Detail

setDefault

public static void setDefault(Logger logger)
Set the instance that will be returned by getInstance().
Parameters:
logger - The new Default value

getDefault

public static Logger getDefault()
This method will attempt to locate a more highly configured logger from the Log Factory. If it is unable to locate a more highly configured logger it will return a singleton instance of the default logger.

Returns:
the current Logger Instance.


Copyright © 2001 Resilient Edge, Inc. All Rights Reserved.