Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for LogFactory (0.05 sec)

  1. src/main/java/org/codelibs/core/log/JclLoggerAdapterFactory.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.log;
    
    import org.apache.commons.logging.LogFactory;
    
    /**
     * (Jakarta) Commons Loggingのロガーを利用するアダプタを生成するファクトリです。
     *
     * @author koichik
     */
    class JclLoggerAdapterFactory implements LoggerAdapterFactory {
    
        @Override
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/log/JclLoggerAdapter.java

    import org.apache.commons.logging.LogFactory;
    
    /**
     * (Jakarta) Commons Loggingのロガーを利用するアダプタです。
     *
     * @author koichik
     */
    class JclLoggerAdapter implements LoggerAdapter {
    
        protected final String sourceClass;
    
        protected final Log logger;
    
        public JclLoggerAdapter(final Class<?> clazz) {
            sourceClass = clazz.getName();
            logger = LogFactory.getLog(clazz);
        }
    
        @Override
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/log/Logger.java

         * </p>
         *
         * @return ログアダプタのファクトリ
         */
        protected static LoggerAdapterFactory getLoggerAdapterFactory() {
            // TODO
            try {
                Class.forName("org.apache.commons.logging.LogFactory");
                return new JclLoggerAdapterFactory();
            } catch (final Throwable ignore) {
                return new JulLoggerAdapterFactory();
            }
        }
    
        /**
         * インスタンスを構築します。
         *
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 13.2K bytes
    - Viewed (0)
Back to top