Преглед на файлове

updated logger in PhoneNumberFactory

Leon преди 7 години
родител
ревизия
0589333962
променени са 1 файла, в които са добавени 4 реда и са изтрити 4 реда
  1. 4
    4
      src/main/java/com/zipcodewilmington/phone/PhoneNumberFactory.java

+ 4
- 4
src/main/java/com/zipcodewilmington/phone/PhoneNumberFactory.java Целия файл

1
 package com.zipcodewilmington.phone;
1
 package com.zipcodewilmington.phone;
2
 
2
 
3
+import com.sun.javafx.binding.Logging;
3
 import com.zipcodewilmington.exceptions.InvalidPhoneNumberFormatException;
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
  * Created by leon on 5/1/17.
9
  * Created by leon on 5/1/17.
10
  */
10
  */
11
 public final class PhoneNumberFactory {
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
     private PhoneNumberFactory() {
14
     private PhoneNumberFactory() {
15
         /** This constructor is private
15
         /** This constructor is private