oracle.stellent.ridc.common.log
Class LogFactory

java.lang.Object
  extended by oracle.stellent.ridc.common.log.LogFactory

public class LogFactory
extends java.lang.Object

Calls into the currently active ILogProvider to obtain log objects.

Author:
astuenke

Constructor Summary
LogFactory()
           
 
Method Summary
static ILog getLog(java.lang.Class type)
          Obtain the logging object via the provider
static ILog getLog(java.lang.String name)
          Obtain the logging object via the provider
 
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 ILog getLog(java.lang.Class type)
Obtain the logging object via the provider

Parameters:
type - the class name; uses the full class name as the log name
Returns:
the log object
See Also:
ILogProvider.getLog(String)

getLog

public static ILog getLog(java.lang.String name)
Obtain the logging object via the provider

Parameters:
name - the log name
Returns:
the log object
See Also:
ILogProvider.getLog(String)


Copyright © 2008-2009 Oracle Corporation. All Rights Reserved.