From 44c7af15a27a52530c8416d26218d40fe3448179 Mon Sep 17 00:00:00 2001 From: Jay Ohms Date: Wed, 13 Sep 2023 16:24:57 -0400 Subject: [PATCH] Add the advanced options doc --- docs/ADVANCED-OPTIONS.md | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 docs/ADVANCED-OPTIONS.md diff --git a/docs/ADVANCED-OPTIONS.md b/docs/ADVANCED-OPTIONS.md new file mode 100644 index 0000000..f61cbc5 --- /dev/null +++ b/docs/ADVANCED-OPTIONS.md @@ -0,0 +1,10 @@ +# Advanced Options + +## Enable Debug Logging +During development, you may want to see what `strada-android` is doing behind the scenes. To enable debug logging, call `Strada.config.debugLoggingEnabled = true`. Debug logging should always be disabled in your production app. For example: + +```kotlin +if (BuildConfig.DEBUG) { + Strada.config.debugLoggingEnabled = true +} +```