Przeglądaj źródła

updated logger in PhoneNumberFactory

Leon 7 lat temu
rodzic
commit
0589333962

+ 4
- 4
src/main/java/com/zipcodewilmington/phone/PhoneNumberFactory.java Wyświetl plik

@@ -1,15 +1,15 @@
1 1
 package com.zipcodewilmington.phone;
2 2
 
3
+import com.sun.javafx.binding.Logging;
3 4
 import com.zipcodewilmington.exceptions.InvalidPhoneNumberFormatException;
4
-import com.zipcodewilmington.tools.RandomNumberFactory;
5
-import org.slf4j.Logger;
6
-import org.slf4j.LoggerFactory;
5
+
6
+import java.util.logging.Logger;
7 7
 
8 8
 /**
9 9
  * Created by leon on 5/1/17.
10 10
  */
11 11
 public final class PhoneNumberFactory {
12
-    private static final Logger logger = LoggerFactory.getLogger(PhoneNumberFactory.class);
12
+    private static final Logger logger = Logger.getGlobal();
13 13
 
14 14
     private PhoneNumberFactory() {
15 15
         /** This constructor is private