Skip to content

Commit d9296e5

Browse files
committed
- remove warning about Java SDK
- reframe Java SDK content a bit
1 parent 8385379 commit d9296e5

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

source/sdk/test-and-debug/log.txt

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,6 @@ your app. You might want to change the log level to log different
2929
amounts of data depending on your development needs. You can specify
3030
different log levels or custom loggers.
3131

32-
.. warning:: Java SDK Logging Support
33-
34-
The Java SDK does not support the same logging API as the other SDKs.
35-
Instead, it uses a deprecated sync logger. Refer to the Java SDK: Deprecated
36-
Sync Logger section on this page for more details.
37-
3832
.. _sdks-set-the-client-log-level:
3933

4034
Set or Change the Log Level
@@ -158,7 +152,8 @@ You can turn off logging by setting the log level:
158152
Other Loggers
159153
-------------
160154

161-
The C++ and Java SDKs have additional loggers that behave differently.
155+
The C++ and Java SDKs have additional loggers that behave differently than the
156+
other examples on this page.
162157

163158
C++ SDK
164159
~~~~~~~
@@ -182,11 +177,11 @@ to the ``set_log_level()`` member function:
182177
Java SDK
183178
~~~~~~~~
184179

185-
The Java SDK uses an older Logger that may not behave like the other SDKs.
186180
The SDK logs events to the Android system log automatically. You can
187181
view these events using :android:`Logcat </studio/debug/am-logcat>`.
188182

189-
To access newer logging features, use the Kotlin SDK.
183+
We recommend using the Kotlin SDK to get the latest logging updates, like
184+
changing the log level at different points in your code.
190185

191186
The Java SDK uses the log levels defined by `Log4J
192187
<https://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/Level.html>`_.

0 commit comments

Comments
 (0)