发布网友
共1个回答
热心网友
android 的日志有几个优先级, 分别是
public static final int VERBOSE = 2;
public static final int DEBUG = 3;
public static final int INFO = 4;
public static final int WARN = 5;
public static final int ERROR = 6;
public static final int ASSERT = 7;
对应输出日志的Log.v Log.d等方法
Android Device monitor里可以过滤输出日志, 比如verbose就是说只要是优先级高于或等VERBOSE的日志都会输出, 基本上就是全部的log了;
assert 我觉得是真言表达式的输出, 比如assert true:"Hello,world";
热心网友
android 的日志有几个优先级, 分别是
public static final int VERBOSE = 2;
public static final int DEBUG = 3;
public static final int INFO = 4;
public static final int WARN = 5;
public static final int ERROR = 6;
public static final int ASSERT = 7;
对应输出日志的Log.v Log.d等方法
Android Device monitor里可以过滤输出日志, 比如verbose就是说只要是优先级高于或等VERBOSE的日志都会输出, 基本上就是全部的log了;
assert 我觉得是真言表达式的输出, 比如assert true:"Hello,world";
热心网友
android 的日志有几个优先级, 分别是
public static final int VERBOSE = 2;
public static final int DEBUG = 3;
public static final int INFO = 4;
public static final int WARN = 5;
public static final int ERROR = 6;
public static final int ASSERT = 7;
对应输出日志的Log.v Log.d等方法
Android Device monitor里可以过滤输出日志, 比如verbose就是说只要是优先级高于或等VERBOSE的日志都会输出, 基本上就是全部的log了;
assert 我觉得是真言表达式的输出, 比如assert true:"Hello,world";
热心网友
android 的日志有几个优先级, 分别是
public static final int VERBOSE = 2;
public static final int DEBUG = 3;
public static final int INFO = 4;
public static final int WARN = 5;
public static final int ERROR = 6;
public static final int ASSERT = 7;
对应输出日志的Log.v Log.d等方法
Android Device monitor里可以过滤输出日志, 比如verbose就是说只要是优先级高于或等VERBOSE的日志都会输出, 基本上就是全部的log了;
assert 我觉得是真言表达式的输出, 比如assert true:"Hello,world";
热心网友
android 的日志有几个优先级, 分别是
public static final int VERBOSE = 2;
public static final int DEBUG = 3;
public static final int INFO = 4;
public static final int WARN = 5;
public static final int ERROR = 6;
public static final int ASSERT = 7;
对应输出日志的Log.v Log.d等方法
Android Device monitor里可以过滤输出日志, 比如verbose就是说只要是优先级高于或等VERBOSE的日志都会输出, 基本上就是全部的log了;
assert 我觉得是真言表达式的输出, 比如assert true:"Hello,world";