From e023e674020f1a435f7b8c8b9276704f576ea6e5 Mon Sep 17 00:00:00 2001 From: CGantert345 <57003061+CGantert345@users.noreply.github.com> Date: Mon, 29 Mar 2021 14:08:45 +0200 Subject: structure change 1 --- src/org/uic/barcode/logger/Logger.java | 24 ------------------------ src/org/uic/barcode/logger/LoggerFactory.java | 9 --------- 2 files changed, 33 deletions(-) delete mode 100644 src/org/uic/barcode/logger/Logger.java delete mode 100644 src/org/uic/barcode/logger/LoggerFactory.java (limited to 'src/org/uic/barcode/logger') diff --git a/src/org/uic/barcode/logger/Logger.java b/src/org/uic/barcode/logger/Logger.java deleted file mode 100644 index b536154..0000000 --- a/src/org/uic/barcode/logger/Logger.java +++ /dev/null @@ -1,24 +0,0 @@ -package org.uic.barcode.logger; - -import java.util.logging.Level; - - -public class Logger { - - public void debug(String text){ - java.util.logging.Logger.getGlobal().log(Level.FINEST,text); - System.out.println(text); - } - - public void log(Level level,String text){ - java.util.logging.Logger.getGlobal().log(level,text); - } - - public void info(String text, IllegalArgumentException e) { - java.util.logging.Logger.getGlobal().log(Level.INFO,text); - } - - -} - - diff --git a/src/org/uic/barcode/logger/LoggerFactory.java b/src/org/uic/barcode/logger/LoggerFactory.java deleted file mode 100644 index 0a1a83c..0000000 --- a/src/org/uic/barcode/logger/LoggerFactory.java +++ /dev/null @@ -1,9 +0,0 @@ -package org.uic.barcode.logger; - -public class LoggerFactory { - - public static Logger getLogger(String name) { - return new Logger(); - } - -} -- cgit v1.2.3