瀏覽代碼

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