org.ocpsoft.logging
Class JDKLogAdapterFactory
java.lang.Object
org.ocpsoft.logging.JDKLogAdapterFactory
- All Implemented Interfaces:
- org.ocpsoft.common.pattern.Weighted, org.ocpsoft.common.services.NonEnriching, LogAdapterFactory
public class JDKLogAdapterFactory
- extends Object
- implements LogAdapterFactory, org.ocpsoft.common.services.NonEnriching
Implementation of LogAdapterFactory for the JDK 1.4 logging API.
- Author:
- Christian Kaltepoth
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JDKLogAdapterFactory
public JDKLogAdapterFactory()
priority
public int priority()
- Specified by:
priority in interface org.ocpsoft.common.pattern.Weighted
createLogAdapter
public Logger createLogAdapter(String logger)
- Description copied from interface:
LogAdapterFactory
- Create a new log adapter for the given logger name.
- Specified by:
createLogAdapter in interface LogAdapterFactory
- Parameters:
logger - The name of the logger
- Returns:
- A log adapter extending
Logger
Copyright © 2012 OCPsoft. All Rights Reserved.