Skip navigation links

Oracle® Fusion Middleware Remote Intradoc Client (RIDC) Java API Reference
11g Release 1 (11.1.1)

E17274-02


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.


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
static void setLogProvider(ILogProvider logProvider)
          Set the log 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

setLogProvider

public static void setLogProvider(ILogProvider logProvider)
Set the log provider. Note: this should be called before other classes access the LogFactory.
Parameters:
logProvider - the log provider

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)

Skip navigation links

Oracle® Fusion Middleware Remote Intradoc Client (RIDC) Java API Reference
11g Release 1 (11.1.1)

E17274-02


Copyright © 2008, 2011, Oracle and/or its affiliates. All rights reserved.