Home | History | Annotate | Download | only in utils

Lines Matching defs:log

18 import android.util.Log;
45 // Only log VERBOSE if build type is DEBUG
47 log(tag, Log.VERBOSE, null, messages);
52 // Only log DEBUG if build type is DEBUG
54 log(tag, Log.DEBUG, null, messages);
59 log(tag, Log.INFO, null, messages);
63 log(tag, Log.WARN, null, messages);
67 log(tag, Log.WARN, t, messages);
71 log(tag, Log.ERROR, null, messages);
75 log(tag, Log.ERROR, t, messages);
78 public static void log(String tag, int level, Throwable t, Object... messages) {
79 if (Log.isLoggable(tag, level)) {
90 sb.append("\n").append(Log.getStackTraceString(t));
94 Log.println(level, tag, message);