diff src/org/tn5250j/encoding/BuiltInCodePageFactory.java @ 25:5949eb469a79 tn5250

adding tn5250 files, native android logging
author Carl Byington <carl@five-ten-sg.com>
date Tue, 03 Jun 2014 12:10:21 -0700
parents cbdff98c45ea
children b29b39f386a4
line wrap: on
line diff
--- a/src/org/tn5250j/encoding/BuiltInCodePageFactory.java	Tue Jun 03 11:44:37 2014 -0700
+++ b/src/org/tn5250j/encoding/BuiltInCodePageFactory.java	Tue Jun 03 12:10:21 2014 -0700
@@ -52,8 +52,8 @@
 import org.tn5250j.encoding.builtin.CCSID871;
 import org.tn5250j.encoding.builtin.CCSID875;
 import org.tn5250j.encoding.builtin.ICodepageConverter;
-import org.tn5250j.tools.logging.TN5250jLogFactory;
-import org.tn5250j.tools.logging.TN5250jLogger;
+import android.util.Log;
+
 
 /**
  * Methods for built-in code page support.
@@ -63,7 +63,7 @@
 	private static BuiltInCodePageFactory singleton;
 
 	private final List<Class<?>> clazzes = new ArrayList<Class<?>>();
-	private final TN5250jLogger log = TN5250jLogFactory.getLogger(this.getClass());
+
 
 	private BuiltInCodePageFactory() {
 		register();
@@ -141,7 +141,7 @@
 			converter.init();
 			return converter;
 		} catch (Exception e) {
-			log.error("Couldn't load code page converter class:" + clazz.getCanonicalName(), e);
+			Log.e(TAG,"Couldn't load code page converter class:" + clazz.getCanonicalName(), e);
 			return null;
 		}
 	}