aboutsummaryrefslogtreecommitdiff
path: root/sample/src/main/kotlin
diff options
context:
space:
mode:
Diffstat (limited to 'sample/src/main/kotlin')
-rw-r--r--sample/src/main/kotlin/ca/allanwang/kau/sample/SL.kt8
-rw-r--r--sample/src/main/kotlin/ca/allanwang/kau/sample/SampleApp.kt4
2 files changed, 2 insertions, 10 deletions
diff --git a/sample/src/main/kotlin/ca/allanwang/kau/sample/SL.kt b/sample/src/main/kotlin/ca/allanwang/kau/sample/SL.kt
deleted file mode 100644
index a77ffe8..0000000
--- a/sample/src/main/kotlin/ca/allanwang/kau/sample/SL.kt
+++ /dev/null
@@ -1,8 +0,0 @@
-package ca.allanwang.kau.sample
-
-import ca.allanwang.kau.logging.TimberLogger
-
-/**
- * Created by Allan Wang on 2017-06-08.
- */
-object SL: TimberLogger("KAU Sample") \ No newline at end of file
diff --git a/sample/src/main/kotlin/ca/allanwang/kau/sample/SampleApp.kt b/sample/src/main/kotlin/ca/allanwang/kau/sample/SampleApp.kt
index 7fdc83d..541eaec 100644
--- a/sample/src/main/kotlin/ca/allanwang/kau/sample/SampleApp.kt
+++ b/sample/src/main/kotlin/ca/allanwang/kau/sample/SampleApp.kt
@@ -1,7 +1,7 @@
package ca.allanwang.kau.sample
import android.app.Application
-import timber.log.Timber
+import ca.allanwang.kau.logging.KL
/**
* Created by Allan Wang on 2017-06-08.
@@ -9,7 +9,7 @@ import timber.log.Timber
class SampleApp : Application() {
override fun onCreate() {
super.onCreate()
- Timber.plant(Timber.DebugTree())
+ KL.debug(BuildConfig.DEBUG)
KPrefSample.initialize(this, "pref_sample")
}
} \ No newline at end of file