Lines Matching refs:tag

17     public static void e(String tag, String msg) {
18 e(tag, msg, null);
22 public static void e(String tag, String msg, Throwable throwable) {
23 addLog(Log.ERROR, tag, msg, throwable);
27 public static void d(String tag, String msg) {
28 d(tag, msg, null);
32 public static void d(String tag, String msg, Throwable throwable) {
33 addLog(Log.DEBUG, tag, msg, throwable);
37 public static void i(String tag, String msg) {
38 i(tag, msg, null);
42 public static void i(String tag, String msg, Throwable throwable) {
43 addLog(Log.INFO, tag, msg, throwable);
47 public static void v(String tag, String msg) {
48 v(tag, msg, null);
52 public static void v(String tag, String msg, Throwable throwable) {
53 addLog(Log.VERBOSE, tag, msg, throwable);
57 public static void w(String tag, String msg) {
58 w(tag, msg, null);
62 public static void w(String tag, Throwable throwable) {
63 w(tag, null, throwable);
68 public static void w(String tag, String msg, Throwable throwable) {
69 addLog(Log.WARN, tag, msg, throwable);
73 public static void wtf(String tag, String msg) {
74 wtf(tag, msg, null);
78 public static void wtf(String tag, String msg, Throwable throwable) {
79 addLog(Log.ASSERT, tag, msg, throwable);
83 public static boolean isLoggable(String tag, int level) {
87 private static void addLog(int level, String tag, String msg, Throwable throwable) {
89 logToStream(stream, level, tag, msg, throwable);
91 logs.add(new LogItem(level, tag, msg, throwable));
95 private static void logToStream(PrintStream ps, int level, String tag, String msg, Throwable throwable) {
106 ps.println(c + "/" + tag + ": " + msg);
122 public final String tag;
126 public LogItem(int type, String tag, String msg, Throwable throwable) {
128 this.tag = tag;