Class CommonsLogFactory

  • All Implemented Interfaces:
    LogFactory

    public class CommonsLogFactory
    extends LogFactoryAdapter
    LogFactory implementation that delegates to the commons logging framework.
    Author:
    Patrick Linskey
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  CommonsLogFactory.LogAdapter
      Adapts a commons logging log to the Log interface.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected Log newLogAdapter​(java.lang.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

      • CommonsLogFactory

        public CommonsLogFactory()
    • Method Detail

      • newLogAdapter

        protected Log newLogAdapter​(java.lang.String channel)
        Description copied from class: LogFactoryAdapter
        Return a log adapter for the given channel. This method may be called multiple times for the same channel in concurrent situations.
        Specified by:
        newLogAdapter in class LogFactoryAdapter