asit.common
Class LogFactory

java.lang.Object
  extended byasit.common.LogFactory

public class LogFactory
extends Object

This class is responsible for initializing the logging system. This will be done the first time a logger is requested.

All other classes can use this class to get a logger with a specific name.

Configuration possibilities:

If both options are enabled and the resources are available the first one has a higher precedence.

Author:
Arne Tauber

Field Summary
protected static String LOGGER_PROPS
           
 
Constructor Summary
protected LogFactory()
          Protected constructor to keep singleton.
 
Method Summary
static Logger getLogger(String name)
          Deprecated. Please use Apache Commons LogFactory instead
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOGGER_PROPS

protected static final String LOGGER_PROPS
See Also:
Constant Field Values
Constructor Detail

LogFactory

protected LogFactory()
Protected constructor to keep singleton.

Method Detail

getLogger

public static Logger getLogger(String name)
Deprecated. Please use Apache Commons LogFactory instead

Returns a logger with a specific name. This name must not be
null
.

Parameters:
name - the name of the logger.
Returns:
the logger with the given name.


Copyright 2007 Institut fuer Angewandte Informationsverarbeitung und Kommunikationstechnologie. All Rights Reserved.