From 9db146d4fd191419cafd9a7f257a16d2006f5137 Mon Sep 17 00:00:00 2001 From: krollins-mdb Date: Mon, 24 Jun 2024 19:43:22 -0500 Subject: [PATCH] Remove "other loggers" tab set --- source/sdk/test-and-debug/log.txt | 79 ++++++++++++------------------- 1 file changed, 29 insertions(+), 50 deletions(-) diff --git a/source/sdk/test-and-debug/log.txt b/source/sdk/test-and-debug/log.txt index b2dbe2edb9..be54beb041 100644 --- a/source/sdk/test-and-debug/log.txt +++ b/source/sdk/test-and-debug/log.txt @@ -158,62 +158,41 @@ You can turn off logging by setting the log level: Other Loggers ------------- -.. tabs-drivers:: - - .. tab:: - :tabid: cpp-sdk - - The C++ SDK uses a sync logger that behaves differently than the rest of - the examples on this page. You can set or change your sync client's log - level to develop or debug your application. You might want to change the - log level to log different amounts of data depending on the app's - environment. - - You can set the level of detail reported by the sync client logger to - specify the level of output you want from the sync client. Get - :cpp-sdk:`an instance of an App's sync manager - `, - and pass a :cpp-sdk:`realm::logger::level ` - to the ``set_log_level()`` member function: - - .. literalinclude:: /examples/generated/cpp/quick-start.snippet.set-sync-log-level.cpp - :language: cpp - - .. tab:: - :tabid: csharp - - .. tab:: - :tabid: dart +The C++ and Java SDKs have additional Loggers that behave differently. - .. tab:: - :tabid: kotlin +C++ SDK +~~~~~~~ - .. tab:: - :tabid: csharp +The C++ SDK uses a sync logger that behaves differently than the rest of +the examples on this page. You can set or change your sync client's log +level to develop or debug your application. You might want to change the +log level to log different amounts of data depending on the app's +environment. - The Java SDK uses an older Logger that may not behave like the other SDKs. - The SDK logs events to the Android system log automatically. You can - view these events using :android:`Logcat `. +You can set the level of detail reported by the sync client logger to +specify the level of output you want from the sync client. Get +:cpp-sdk:`an instance of an App's sync manager +`, +and pass a :cpp-sdk:`realm::logger::level ` +to the ``set_log_level()`` member function: - To access newer logging features, use the Kotlin SDK. +.. literalinclude:: /examples/generated/cpp/quick-start.snippet.set-sync-log-level.cpp + :language: cpp - The Java SDK uses the log levels defined by `Log4J - `_. - To configure the log level for database logs in your application, pass a - :java-sdk:`LogLevel ` to - :java-sdk:`RealmLog.setLevel() `: +Java SDK +~~~~~~~~ - .. literalinclude:: /examples/generated/java/sync/SyncDataTest.snippet.set-client-log-level.java - :language: java +The Java SDK uses an older Logger that may not behave like the other SDKs. +The SDK logs events to the Android system log automatically. You can +view these events using :android:`Logcat `. - .. tab:: - :tabid: javascript +To access newer logging features, use the Kotlin SDK. - .. tab:: - :tabid: kotlin - - .. tab:: - :tabid: swift +The Java SDK uses the log levels defined by `Log4J +`_. +To configure the log level for database logs in your application, pass a +:java-sdk:`LogLevel ` to +:java-sdk:`RealmLog.setLevel() `: - .. tab:: - :tabid: typescript +.. literalinclude:: /examples/generated/java/sync/SyncDataTest.snippet.set-client-log-level.java + :language: java