1 /* 2 * Copyright (C) 2010 The Android Open Source Project 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17 package com.android.gallery3d.ui; 18 19 // TODO: Delete this 20 public class Log { v(String tag, String msg)21 public static int v(String tag, String msg) { 22 return android.util.Log.v(tag, msg); 23 } v(String tag, String msg, Throwable tr)24 public static int v(String tag, String msg, Throwable tr) { 25 return android.util.Log.v(tag, msg, tr); 26 } d(String tag, String msg)27 public static int d(String tag, String msg) { 28 return android.util.Log.d(tag, msg); 29 } d(String tag, String msg, Throwable tr)30 public static int d(String tag, String msg, Throwable tr) { 31 return android.util.Log.d(tag, msg, tr); 32 } i(String tag, String msg)33 public static int i(String tag, String msg) { 34 return android.util.Log.i(tag, msg); 35 } i(String tag, String msg, Throwable tr)36 public static int i(String tag, String msg, Throwable tr) { 37 return android.util.Log.i(tag, msg, tr); 38 } w(String tag, String msg)39 public static int w(String tag, String msg) { 40 return android.util.Log.w(tag, msg); 41 } w(String tag, String msg, Throwable tr)42 public static int w(String tag, String msg, Throwable tr) { 43 return android.util.Log.w(tag, msg, tr); 44 } w(String tag, Throwable tr)45 public static int w(String tag, Throwable tr) { 46 return android.util.Log.w(tag, tr); 47 } e(String tag, String msg)48 public static int e(String tag, String msg) { 49 return android.util.Log.e(tag, msg); 50 } e(String tag, String msg, Throwable tr)51 public static int e(String tag, String msg, Throwable tr) { 52 return android.util.Log.e(tag, msg, tr); 53 } 54 } 55