From e2009a3e33a58bab37f433845f6d105cb7821da1 Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Sun, 31 Dec 2017 15:07:05 -0500 Subject: Enhancement/logger (#120) * Rewrite logger to use lazy loading * Clean up and add to changelog --- searchview/src/main/kotlin/ca/allanwang/kau/searchview/SearchView.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'searchview/src') diff --git a/searchview/src/main/kotlin/ca/allanwang/kau/searchview/SearchView.kt b/searchview/src/main/kotlin/ca/allanwang/kau/searchview/SearchView.kt index 50e0298..1cd811e 100644 --- a/searchview/src/main/kotlin/ca/allanwang/kau/searchview/SearchView.kt +++ b/searchview/src/main/kotlin/ca/allanwang/kau/searchview/SearchView.kt @@ -210,7 +210,7 @@ class SearchView @JvmOverloads constructor( private val divider: View by bindView(R.id.kau_search_divider) private val recycler: RecyclerView by bindView(R.id.kau_search_recycler) private var textCallback: Debouncer2 - = debounce(0) { query, _ -> KL.d("Search query $query found; set your own textCallback") } + = debounce(0) { query, _ -> KL.d { "Search query $query found; set your own textCallback" } } val adapter = FastItemAdapter() var menuItem: MenuItem? = null val isOpen: Boolean -- cgit v1.2.3