logging-api 1.0.2.Final

org.ocpsoft.logging
Class JDKLogAdapterFactory

java.lang.Object
  extended by 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

Constructor Summary
JDKLogAdapterFactory()
           
 
Method Summary
 Logger createLogAdapter(String logger)
          Create a new log adapter for the given logger name.
 int priority()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JDKLogAdapterFactory

public JDKLogAdapterFactory()
Method Detail

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

logging-api 1.0.2.Final

Copyright © 2012 OCPsoft. All Rights Reserved.