Skip to content

Commit

Permalink
task(SDK-3215) - Updates deprecation related comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Anush-Shand committed Sep 27, 2023
1 parent a3604cd commit 66f89f2
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ public ArrayList<String> getAllowedPushTypes() {

/**
* <p style="color:#4d2e00;background:#ffcc99;font-weight: bold" >
* Note: This method has been deprecated since v5.2.1 to make logging static across the SDK.
* Note: This method has been deprecated since v5.3.0 to make logging static across the SDK.
* It will be removed in the future versions of this SDK.
* </p>
*/
Expand All @@ -296,8 +296,9 @@ public int getDebugLevel() {

/**
* <p style="color:#4d2e00;background:#ffcc99;font-weight: bold" >
* Note: This method has been deprecated since v5.2.1 to make logging static across the SDK.
* Note: This method has been deprecated since v5.3.0 to make logging static across the SDK.
* It will be removed in the future versions of this SDK.
* Use CleverTapAPI.setDebugLevel() instead. Loglevel is now common for all instances
* </p>
*/
@Deprecated
Expand All @@ -308,8 +309,9 @@ public void setDebugLevel(CleverTapAPI.LogLevel debugLevel) {

/**
* <p style="color:#4d2e00;background:#ffcc99;font-weight: bold" >
* Note: This method has been deprecated since v5.2.1 to make logging static across the SDK.
* Note: This method has been deprecated since v5.3.0 to make logging static across the SDK.
* It will be removed in the future versions of this SDK.
* Use CleverTapAPI.setDebugLevel() instead. Log level is now common for all instances
* </p>
*/
@Deprecated
Expand All @@ -328,7 +330,7 @@ public String getFcmSenderId() {

/**
* <p style="color:#4d2e00;background:#ffcc99;font-weight: bold" >
* Note: This method has been deprecated since v5.2.1 to make logging static across the SDK.
* Note: This method has been deprecated since v5.3.0 to make logging static across the SDK.
* It will be removed in the future versions of this SDK.
* </p>
*/
Expand Down Expand Up @@ -368,7 +370,7 @@ public boolean isDefaultInstance() {

/**
* <p style="color:#4d2e00;background:#ffcc99;font-weight: bold" >
* Note: This method has been deprecated since v5.2.1 to make logging static across the SDK.
* Note: This method has been deprecated since v5.3.0 to make logging static across the SDK.
* It will be removed in the future versions of this SDK.
* </p>
*/
Expand All @@ -380,7 +382,7 @@ public void log(@NonNull String tag, @NonNull String message) {

/**
* <p style="color:#4d2e00;background:#ffcc99;font-weight: bold" >
* Note: This method has been deprecated since v5.2.1 to make logging static across the SDK.
* Note: This method has been deprecated since v5.3.0 to make logging static across the SDK.
* It will be removed in the future versions of this SDK.
* </p>
*/
Expand Down
26 changes: 13 additions & 13 deletions clevertap-core/src/main/java/com/clevertap/android/sdk/Logger.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public final class Logger {

/**
* <p style="color:#4d2e00;background:#ffcc99;font-weight: bold" >
* Note: This constructor has been deprecated since v5.2.1 to make logging static across the SDK.
* Note: This constructor has been deprecated since v5.3.0 to make logging static across the SDK.
* It will be removed in the future versions of this SDK.
* </p>
*/
Expand All @@ -22,7 +22,7 @@ public final class Logger {
* Logs to Debug if the debug level is greater than 1.
*
* <p style="color:#4d2e00;background:#ffcc99;font-weight: bold" >
* Note: This method has been deprecated since v5.2.1 to make logging static across the SDK.
* Note: This method has been deprecated since v5.3.0 to make logging static across the SDK.
* Use Logger.debug() instead.
* It will be removed in the future versions of this SDK.
* </p>
Expand All @@ -38,7 +38,7 @@ public static void d(String message) {
* Logs to Debug if the debug level is greater than 1.
*
* <p style="color:#4d2e00;background:#ffcc99;font-weight: bold" >
* Note: This method has been deprecated since v5.2.1 to make logging static across the SDK.
* Note: This method has been deprecated since v5.3.0 to make logging static across the SDK.
* Use Logger.debug() instead.
* It will be removed in the future versions of this SDK.
* </p>
Expand All @@ -54,7 +54,7 @@ public static void d(String suffix, String message) {
* Logs to Debug if the debug level is greater than 1.
*
* <p style="color:#4d2e00;background:#ffcc99;font-weight: bold" >
* Note: This method has been deprecated since v5.2.1 to make logging static across the SDK.
* Note: This method has been deprecated since v5.3.0 to make logging static across the SDK.
* Use Logger.debug() instead.
* It will be removed in the future versions of this SDK.
* </p>
Expand All @@ -70,7 +70,7 @@ public static void d(String suffix, String message, Throwable t) {
* Logs to Debug if the debug level is greater than 1.
*
* <p style="color:#4d2e00;background:#ffcc99;font-weight: bold" >
* Note: This method has been deprecated since v5.2.1 to make logging static across the SDK.
* Note: This method has been deprecated since v5.3.0 to make logging static across the SDK.
* Use Logger.debug() instead.
* It will be removed in the future versions of this SDK.
* </p>
Expand All @@ -86,7 +86,7 @@ public static void d(String message, Throwable t) {
* Logs to Info if the debug level is greater than or equal to 1.
*
* <p style="color:#4d2e00;background:#ffcc99;font-weight: bold" >
* Note: This method has been deprecated since v5.2.1 to make logging static across the SDK.
* Note: This method has been deprecated since v5.3.0 to make logging static across the SDK.
* Use Logger.info() instead.
* It will be removed in the future versions of this SDK.
* </p>
Expand All @@ -103,7 +103,7 @@ public static void i(String message) {
* Logs to Info if the debug level is greater than or equal to 1.
*
* <p style="color:#4d2e00;background:#ffcc99;font-weight: bold" >
* Note: This method has been deprecated since v5.2.1 to make logging static across the SDK.
* Note: This method has been deprecated since v5.3.0 to make logging static across the SDK.
* Use Logger.info() instead.
* It will be removed in the future versions of this SDK.
* </p>
Expand All @@ -120,7 +120,7 @@ public static void i(String suffix, String message) {
* Logs to Info if the debug level is greater than or equal to 1.
*
* <p style="color:#4d2e00;background:#ffcc99;font-weight: bold" >
* Note: This method has been deprecated since v5.2.1 to make logging static across the SDK.
* Note: This method has been deprecated since v5.3.0 to make logging static across the SDK.
* Use Logger.info() instead.
* It will be removed in the future versions of this SDK.
* </p>
Expand All @@ -137,7 +137,7 @@ public static void i(String suffix, String message, Throwable t) {
* Logs to Info if the debug level is greater than or equal to 1.
*
* <p style="color:#4d2e00;background:#ffcc99;font-weight: bold" >
* Note: This method has been deprecated since v5.2.1 to make logging static across the SDK.
* Note: This method has been deprecated since v5.3.0 to make logging static across the SDK.
* Use Logger.info() instead.
* It will be removed in the future versions of this SDK.
* </p>
Expand All @@ -153,7 +153,7 @@ public static void i(String message, Throwable t) {
* Logs to Verbose if the debug level is greater than 2.
*
* <p style="color:#4d2e00;background:#ffcc99;font-weight: bold" >
* Note: This method has been deprecated since v5.2.1 to make logging static across the SDK.
* Note: This method has been deprecated since v5.3.0 to make logging static across the SDK.
* Use Logger.verbose() instead.
* It will be removed in the future versions of this SDK.
* </p>
Expand All @@ -169,7 +169,7 @@ public static void v(String message) {
* Logs to Verbose if the debug level is greater than 2.
*
* <p style="color:#4d2e00;background:#ffcc99;font-weight: bold" >
* Note: This method has been deprecated since v5.2.1 to make logging static across the SDK.
* Note: This method has been deprecated since v5.3.0 to make logging static across the SDK.
* Use Logger.verbose() instead.
* It will be removed in the future versions of this SDK.
* </p>
Expand All @@ -185,7 +185,7 @@ public static void v(String suffix, String message) {
* Logs to Verbose if the debug level is greater than 2.
*
* <p style="color:#4d2e00;background:#ffcc99;font-weight: bold" >
* Note: This method has been deprecated since v5.2.1 to make logging static across the SDK.
* Note: This method has been deprecated since v5.3.0 to make logging static across the SDK.
* Use Logger.verbose() instead.
* It will be removed in the future versions of this SDK.
* </p>
Expand All @@ -201,7 +201,7 @@ public static void v(String suffix, String message, Throwable t) {
* Logs to Verbose if the debug level is greater than 2.
*
* <p style="color:#4d2e00;background:#ffcc99;font-weight: bold" >
* Note: This method has been deprecated since v5.2.1 to make logging static across the SDK.
* Note: This method has been deprecated since v5.3.0 to make logging static across the SDK.
* Use Logger.verbose() instead.
* It will be removed in the future versions of this SDK.
* </p>
Expand Down

0 comments on commit 66f89f2

Please sign in to comment.