Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.openjpa.lib.log
Class LogFactoryAdapter

    java.lang.Object
      org.apache.openjpa.lib.log.LogFactoryAdapter

All Implemented Interfaces:
  LogFactory

Direct Known Subclasses:
  CommonsLogFactory, Log4JLogFactory, SLF4JLogFactory

    public abstract class LogFactoryAdapter

extends Object
implements LogFactory

Base type that aids in adapting an external log framework to the `LogFactory`.

Author:
  Abe White

Constructor Summary
`LogFactoryAdapter()`

Method Summary
`Log` | `getLog(String channel)` Return a log for the given channel name.
`protected abstract Log` | `newLogAdapter(String channel)` Return a log adapter for the given channel.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### LogFactoryAdapter

    public LogFactoryAdapter()

Method Detail

### getLog

    public Log getLog(String channel)

  Description copied from interface: `LogFactory`
  Return a log for the given channel name.

  Specified by:
    `getLog` in interface `LogFactory`

### newLogAdapter

    protected abstract Log newLogAdapter(String channel)

  Return a log adapter for the given channel. This method may be called multiple times for the same channel in concurrent situations.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2006-2013 Apache Software Foundation. All Rights Reserved.