comparison src/goodjava/logging/LoggerFactory.java @ 1454:219f2b937f2b

remove log4j
author Franklin Schmidt <fschmidt@gmail.com>
date Sun, 08 Mar 2020 14:11:30 -0600
parents 6fc083e1d08c
children
comparison
equal deleted inserted replaced
1453:928be2a4d565 1454:219f2b937f2b
2 2
3 3
4 public final class LoggerFactory { 4 public final class LoggerFactory {
5 public static final ILoggerFactory implementation; 5 public static final ILoggerFactory implementation;
6 static { 6 static {
7 String s = System.getProperty("goodjava.logger","goodjava.logging.Log4jFactory"); 7 String s = System.getProperty("goodjava.logger","goodjava.logger.LoggingFactory");
8 try { 8 try {
9 implementation = (ILoggerFactory)Class.forName(s).newInstance(); 9 implementation = (ILoggerFactory)Class.forName(s).newInstance();
10 } catch(ClassNotFoundException e) { 10 } catch(ClassNotFoundException e) {
11 throw new RuntimeException(e); 11 throw new RuntimeException(e);
12 } catch(InstantiationException e) { 12 } catch(InstantiationException e) {