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.util; 18 19 public class Log { v(String tag, String msg)20 public static int v(String tag, String msg) { 21 return android.util.Log.v(tag, msg); 22 } v(String tag, String msg, Throwable tr)23 public static int v(String tag, String msg, Throwable tr) { 24 return android.util.Log.v(tag, msg, tr); 25 } d(String tag, String msg)26 public static int d(String tag, String msg) { 27 return android.util.Log.d(tag, msg); 28 } d(String tag, String msg, Throwable tr)29 public static int d(String tag, String msg, Throwable tr) { 30 return android.util.Log.d(tag, msg, tr); 31 } i(String tag, String msg)32 public static int i(String tag, String msg) { 33 return android.util.Log.i(tag, msg); 34 } i(String tag, String msg, Throwable tr)35 public static int i(String tag, String msg, Throwable tr) { 36 return android.util.Log.i(tag, msg, tr); 37 } w(String tag, String msg)38 public static int w(String tag, String msg) { 39 return android.util.Log.w(tag, msg); 40 } w(String tag, String msg, Throwable tr)41 public static int w(String tag, String msg, Throwable tr) { 42 return android.util.Log.w(tag, msg, tr); 43 } w(String tag, Throwable tr)44 public static int w(String tag, Throwable tr) { 45 return android.util.Log.w(tag, tr); 46 } e(String tag, String msg)47 public static int e(String tag, String msg) { 48 return android.util.Log.e(tag, msg); 49 } e(String tag, String msg, Throwable tr)50 public static int e(String tag, String msg, Throwable tr) { 51 return android.util.Log.e(tag, msg, tr); 52 } 53 } 54