summaryrefslogtreecommitdiff
path: root/master/src/main/java/com/orbekk/ConfigureLog4J.java
diff options
context:
space:
mode:
authorKjetil Ørbekk <kjetil.orbekk@gmail.com>2012-01-10 17:36:00 +0100
committerKjetil Ørbekk <kjetil.orbekk@gmail.com>2012-01-10 17:36:49 +0100
commit4825f9142e872f8572b628d6e9b1e671575a6873 (patch)
treea8a16176c73ab4fa7df6420a73253e483c6c5f44 /master/src/main/java/com/orbekk/ConfigureLog4J.java
parent6596cf75382de7fd7f2a8b868a70cfa0442a4ea5 (diff)
Switch from log4j to slf4j.
Slf4j works on Android easily.
Diffstat (limited to 'master/src/main/java/com/orbekk/ConfigureLog4J.java')
-rw-r--r--master/src/main/java/com/orbekk/ConfigureLog4J.java18
1 files changed, 0 insertions, 18 deletions
diff --git a/master/src/main/java/com/orbekk/ConfigureLog4J.java b/master/src/main/java/com/orbekk/ConfigureLog4J.java
deleted file mode 100644
index e6b1ac5..0000000
--- a/master/src/main/java/com/orbekk/ConfigureLog4J.java
+++ /dev/null
@@ -1,18 +0,0 @@
-package com.orbekk;
-import org.apache.log4j.Level;
-import android.os.Environment;
-import de.mindpipe.android.logging.log4j.LogConfigurator;
-
-public class ConfigureLog4J {
- static {
- final LogConfigurator logConfigurator = new LogConfigurator();
-
- logConfigurator.setFileName(Environment.getExternalStorageDirectory() + "myapp.log");
- logConfigurator.setRootLevel(Level.DEBUG);
- logConfigurator.setUseLogCatAppender(true);
- // Set log level of a specific logger
- // logConfigurator.setLevel("org.apache", Level.ERROR);
- logConfigurator.configure();
- System.err.println("GOT HERE.");
- }
-} \ No newline at end of file