diff options
author | Allan Wang <me@allanwang.ca> | 2018-02-13 16:51:56 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-13 16:51:56 -0500 |
commit | cdb1bd6eec2c90abc9d3d982814552443c7fc3b2 (patch) | |
tree | 2d21dfcce61fec76384d862b410ee61579169bc2 /core/src/main/kotlin/ca/allanwang/kau/logging | |
parent | f5d6ddb72a3dc369b95631a607471f9a6ea5e70f (diff) | |
download | kau-cdb1bd6eec2c90abc9d3d982814552443c7fc3b2.tar.gz kau-cdb1bd6eec2c90abc9d3d982814552443c7fc3b2.tar.bz2 kau-cdb1bd6eec2c90abc9d3d982814552443c7fc3b2.zip |
Update docs (#135)
* Update docs
* Update format
* Update dependencies
Diffstat (limited to 'core/src/main/kotlin/ca/allanwang/kau/logging')
-rw-r--r-- | core/src/main/kotlin/ca/allanwang/kau/logging/KL.kt | 2 | ||||
-rw-r--r-- | core/src/main/kotlin/ca/allanwang/kau/logging/KauLogger.kt | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/core/src/main/kotlin/ca/allanwang/kau/logging/KL.kt b/core/src/main/kotlin/ca/allanwang/kau/logging/KL.kt index f690571..9f48ab5 100644 --- a/core/src/main/kotlin/ca/allanwang/kau/logging/KL.kt +++ b/core/src/main/kotlin/ca/allanwang/kau/logging/KL.kt @@ -4,5 +4,7 @@ import ca.allanwang.kau.BuildConfig /** * Created by Allan Wang on 2017-06-19. + * + * Internal KAU logger */ object KL : KauLogger("KAU", { BuildConfig.DEBUG })
\ No newline at end of file diff --git a/core/src/main/kotlin/ca/allanwang/kau/logging/KauLogger.kt b/core/src/main/kotlin/ca/allanwang/kau/logging/KauLogger.kt index e639867..799d32f 100644 --- a/core/src/main/kotlin/ca/allanwang/kau/logging/KauLogger.kt +++ b/core/src/main/kotlin/ca/allanwang/kau/logging/KauLogger.kt @@ -21,6 +21,8 @@ import android.util.Log * inline fun _d(message: () -> Any?) { * if (BuildConfig.DEBUG) d(message) * } + * This use case allows for a constant boolean check, which should be caught and removed by proguard + * for production builds */ open class KauLogger( /** |