summaryrefslogtreecommitdiff
path: root/javaSE
diff options
context:
space:
mode:
authorBilal Alsharifi <bilal.alsharifi@gmail.com>2020-09-02 11:21:46 -0400
committerBilal Alsharifi <bilal.alsharifi@gmail.com>2020-09-02 11:21:46 -0400
commit6fd0fe42f2df9eb7895222566ee68a2223c97f79 (patch)
tree250ffbc24ae485e1365fb13884c7a719163a36de /javaSE
parente321032de647c4b86747189e225c109c44e5e70c (diff)
downloadsdl_android-6fd0fe42f2df9eb7895222566ee68a2223c97f79.tar.gz
Remove deprecated Log class
Diffstat (limited to 'javaSE')
-rw-r--r--javaSE/src/main/java/android/util/Log.java71
1 files changed, 0 insertions, 71 deletions
diff --git a/javaSE/src/main/java/android/util/Log.java b/javaSE/src/main/java/android/util/Log.java
deleted file mode 100644
index 7374ff04c..000000000
--- a/javaSE/src/main/java/android/util/Log.java
+++ /dev/null
@@ -1,71 +0,0 @@
- /*
- * Copyright (C) 2006 The Android Open Source Project
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- * Note: This file has been modified from its original form.
- */
-
-package android.util;
-
-@Deprecated
-public class Log {
-
-
- public static int i(String tag, String message){
- System.out.print("\r\nINFO: " + tag+ " - " + message);
- return 10;
-
-
- }
- public static int v(String tag, String message){
- System.out.print("\r\nVERBOSE: " + tag+ " - " + message);
- return 10;
-
-
- }
- public static int d(String tag, String message){
- System.out.print("\r\nDEBUG: " + tag+ " - " + message);
- return 10;
-
-
- }
- public static int w(String tag, String message){
- System.out.print("\r\nWARN: " + tag+ " - " + message);
- return 10;
-
-
- }
- public static int e(String tag, String message){
- System.out.print("\r\nERROR: " + tag+ " - " + message);
- return 10;
-
- }
- public static int e(String tag, String message, Exception e){
- if(e != null){
- System.out.print("\r\nERROR: " + tag+ " - " + message + " - " + e.getMessage());
- }else{
- System.out.print("\r\nERROR: " + tag+ " - " + message);
- }
- return 10;
- }
- public static int e(String tag, String message, Throwable t){
- if(t != null){
- System.out.print("\r\nERROR: " + tag+ " - " + message + " - " + t.getMessage());
- }else{
- System.out.print("\r\nERROR: " + tag+ " - " + message);
- }
- return 10;
- }
-
-}