Android Device monitor 中的 verbose 和 assert 是什么意思?

发布网友

我来回答

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";

声明声明:本网页内容为用户发布,旨在传播知识,不代表本网认同其观点,若有侵权等问题请及时与本网联系,我们将在第一时间删除处理。E-MAIL:11247931@qq.com