X-Git-Url: https://git.ralfj.de/saartuer.git/blobdiff_plain/a89547dadb2928083b7bd859f99cca9c8c61f74b..5bceb6534d5f640dcdd4d5015cecfbad4e82a7b7:/AndTuer/src/de/hacksaar/andtuer/AndroidLogging.java?ds=inline diff --git a/AndTuer/src/de/hacksaar/andtuer/AndroidLogging.java b/AndTuer/src/de/hacksaar/andtuer/AndroidLogging.java new file mode 100644 index 0000000..e4d0b19 --- /dev/null +++ b/AndTuer/src/de/hacksaar/andtuer/AndroidLogging.java @@ -0,0 +1,21 @@ +package de.hacksaar.andtuer; + +import android.util.Log; +import de.hacksaar.javatuer.TuerLogging; + +public class AndroidLogging extends TuerLogging { + @Override + public void debug(String tag, String msg) { + Log.d(tag, msg); + } + + @Override + public void exception(String tag, Throwable t) { + Log.w(tag, t); + } + + @Override + public void info(String tag, String msg) { + Log.i(tag, msg); + } +}