net.sf.asterisk.util
Class LogFactory

java.lang.Object
  extended by net.sf.asterisk.util.LogFactory

public final class LogFactory
extends java.lang.Object

Facade to hide details of the underlying logging system.

Version:
$Id: LogFactory.java,v 1.2 2005/04/20 18:22:13 srt Exp $
Author:
srt

Constructor Summary
LogFactory()
           
 
Method Summary
static Log getLog(java.lang.Class clazz)
          Returns an instance of Log suitable for logging from the given class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogFactory

public LogFactory()
Method Detail

getLog

public static Log getLog(java.lang.Class clazz)
Returns an instance of Log suitable for logging from the given class.

Parameters:
clazz - the class to create the logger for.
Returns:
the created logger.


Copyright © 2004-2005 Stefan Reuter. All Rights Reserved.