All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.ocpsoft.rewrite.logging.slf4j.SLF4JLogAdapterFactory Maven / Gradle / Ivy

The newest version!
package com.ocpsoft.rewrite.logging.slf4j;

import com.ocpsoft.rewrite.logging.Logger;
import com.ocpsoft.rewrite.spi.LogAdapterFactory;

/**
 * Implementation of {@link LogAdapterFactory} that creates log adapters
 * delegating log events to SLF4J.
 * 
 * @author Christian Kaltepoth 
 */
public class SLF4JLogAdapterFactory implements LogAdapterFactory
{

   @Override
   public int priority()
   {
      return 5;
   }

   @Override
   public Logger createLogAdapter(String name)
   {
      return new SLF4JLogAdapter(name);
   }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy