Repository: datadog/dd-sdk-android
Issue: isInitialized is non-static

**Describe what happened**
I'm trying to use the isInitialized method in com.datadog.android.Datadog. However it seems like it's a non static member and there is no way to get an instance of Datadog?

**Steps to reproduce the issue:**
Try to call Datadog.isInitialized() like in the readme (https://github.com/DataDog/dd-sdk-android/blob/master/docs/log_collection.md). It's not possible since isInitialized isn't a static method.

**Describe what you expected:**
I expect to be able to call Datadog.isInitialized() like the readme describes (without using an instance of Datadog).

**Additional context**
 - Android OS version: n/a
 - Device Model: n/a
 - Datadog SDK version: 1.8.1
 - Versions of any other relevant dependencies (OkHttp, …): n/a
 - Proguard configuration: n/a
 - Gradle Plugins: n/a


Changed files:
dd-sdk-android/src/main/kotlin/com/datadog/android/Datadog.kt

diff --git a/dd-sdk-android/src/main/kotlin/com/datadog/android/Datadog.kt b/dd-sdk-android/src/main/kotlin/com/datadog/android/Datadog.kt
index 410dee338..dba3fffeb 100644
--- a/dd-sdk-android/src/main/kotlin/com/datadog/android/Datadog.kt
+++ b/dd-sdk-android/src/main/kotlin/com/datadog/android/Datadog.kt
@@ -40,6 +40,8 @@ object Datadog {
         private set
     internal var isDebug = false
 
+    // region Initialization
+
     /**
      * Initializes the Datadog SDK.
      * @param context your application context
@@ -166,76 +168,23 @@ object Datadog {
                 Thread(Runnable { stop() }, SHUTDOWN_THREAD)
             )
     }
-
-    private fun initializeLogsFeature(
-        configuration: Configuration.Feature.Logs?,
-        appContext: Context
-    ) {
-        if (configuration != null) {
-            LogsFeature.initialize(appContext, configuration)
-        }
-    }
-
-    private fun initializeCrashReportFeature(
-        configuration: Configuration.Feature.CrashReport?,
-        appContext: Context
-    ) {
-        if (configuration != null) {
-            CrashReportsFeature.initialize(appContext, configuration)
-        }
-    }
-
-    private fun initializeTracingFeature(
-        configuration: Configuration.Feature.Tracing?,
-        appContext: Context
-    ) {
-        if (configuration != null) {
-            TracesFeature.initialize(appContext, configuration)
-        }
-    }
-
-    private fun initializeRumFeature(
-        configuration: Configuration.Feature.RUM?,
-        appContext: Context
-    ) {
-        if (configuration != null) {
-            if (CoreFeature.rumApplicationId.isNullOrBlank()) {
-                devLogger.w(WARNING_MESSAGE_APPLICATION_ID_IS_NULL)
-            }
-            RumFeature.initialize(appContext, configuration)
-        }
-    }
-
-    private fun initializeInternalLogsFeature(
-        configuration: Configuration.Feature.InternalLogs?,
-        appContext: Context
-    ) {
-        if (configuration != null) {
-            InternalLogsFeature.initialize(appContext, configuration)
-        }
-    }
-
-    private fun applyAdditionalConfiguration(
-        @Suppress("UNUSED_PARAMETER") additionalConfiguration: Map<String, Any>
-    ) {
-        additionalConfiguration[DD_SOURCE_TAG]?.let {
-            if (it.toString().isNotBlank()) {
-                CoreFeature.sourceName = it.toString()
-            }
-        }
-    }
-
     /**
      * Checks if the Datadog SDK was already initialized.
      * @return true if the SDK was initialized, false otherwise
      */
+    @JvmStatic
     fun isInitialized(): Boolean {
         return initialized.get()
     }
 
+    // endregion
+
+    // region Global methods
+
     /**
      * Clears all data that has not already been sent to Datadog servers.
      */
+    @JvmStatic
     fun clearAllData() {
         LogsFeature.clearAllData()
         CrashReportsFeature.clearAllData()
@@ -279,6 +228,7 @@ object Datadog {
      * @param consent which can take one of the values
      * ([TrackingConsent.PENDING], [TrackingConsent.GRANTED], [TrackingConsent.NOT_GRANTED])
      */
+    @JvmStatic
     fun setTrackingConsent(consent: TrackingConsent) {
         CoreFeature.trackingConsentProvider.setConsent(consent)
     }
@@ -310,8 +260,68 @@ object Datadog {
         )
     }
 
+    // endregion
+
     // region Internal Initialization
 
+    private fun initializeLogsFeature(
+        configuration: Configuration.Feature.Logs?,
+        appContext: Context
+    ) {
+        if (configuration != null) {
+            LogsFeature.initialize(appContext, configuration)
+        }
+    }
+
+    private fun initializeCrashReportFeature(
+        configuration: Configuration.Feature.CrashReport?,
+        appContext: Context
+    ) {
+        if (configuration != null) {
+            CrashReportsFeature.initialize(appContext, configuration)
+        }
+    }
+
+    private fun initializeTracingFeature(
+        configuration: Configuration.Feature.Tracing?,
+        appContext: Context
+    ) {
+        if (configuration != null) {
+            TracesFeature.initialize(appContext, configuration)
+        }
+    }
+
+    private fun initializeRumFeature(
+        configuration: Configuration.Feature.RUM?,
+        appContext: Context
+    ) {
+        if (configuration != null) {
+            if (CoreFeature.rumApplicationId.isNullOrBlank()) {
+                devLogger.w(WARNING_MESSAGE_APPLICATION_ID_IS_NULL)
+            }
+            RumFeature.initialize(appContext, configuration)
+        }
+    }
+
+    private fun initializeInternalLogsFeature(
+        configuration: Configuration.Feature.InternalLogs?,
+        appContext: Context
+    ) {
+        if (configuration != null) {
+            InternalLogsFeature.initialize(appContext, configuration)
+        }
+    }
+
+    private fun applyAdditionalConfiguration(
+        @Suppress("UNUSED_PARAMETER") additionalConfiguration: Map<String, Any>
+    ) {
+        additionalConfiguration[DD_SOURCE_TAG]?.let {
+            if (it.toString().isNotBlank()) {
+                CoreFeature.sourceName = it.toString()
+            }
+        }
+    }
+
     @Suppress("ThrowingInternalException")
     private fun validateEnvironmentName(envName: String): Boolean {
         if (!envName.matches(Regex(ENV_NAME_VALIDATION_REG_EX))) {