From 02e1dbc84425b0ac7f771c82f70444f742397452 Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Mon, 7 Aug 2017 22:20:57 -0700 Subject: Release 3.3.0 (#32) * Rewrite Logger (#29) * Remove dependency on timber * Update logger * Reorder throwabl * Fix lint * Update readme * Blank target * Create Zip (#30) * Finish zips with tests * Finalize * Update changelog * Add log hooks * Open most logging functions * Remap kpref items (#31) * Update readme * Generate files and prepare release * Kpref - --- sample/src/main/kotlin/ca/allanwang/kau/sample/SL.kt | 8 -------- sample/src/main/kotlin/ca/allanwang/kau/sample/SampleApp.kt | 4 ++-- 2 files changed, 2 insertions(+), 10 deletions(-) delete mode 100644 sample/src/main/kotlin/ca/allanwang/kau/sample/SL.kt (limited to 'sample/src/main/kotlin/ca/allanwang') 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 -- cgit v1.2.3