在线看毛片网站电影-亚洲国产欧美日韩精品一区二区三区,国产欧美乱夫不卡无乱码,国产精品欧美久久久天天影视,精品一区二区三区视频在线观看,亚洲国产精品人成乱码天天看,日韩久久久一区,91精品国产91免费

<menu id="6qfwx"><li id="6qfwx"></li></menu>
    1. <menu id="6qfwx"><dl id="6qfwx"></dl></menu>

      <label id="6qfwx"><ol id="6qfwx"></ol></label><menu id="6qfwx"></menu><object id="6qfwx"><strike id="6qfwx"><noscript id="6qfwx"></noscript></strike></object>
        1. <center id="6qfwx"><dl id="6qfwx"></dl></center>

            新聞中心

            Android 框架簡(jiǎn)介

            作者: 時(shí)間:2016-09-12 來(lái)源:網(wǎng)絡(luò) 收藏

            * significant work and incurring significant overhead.

            */

            public final class Log {

            /**

            * Priority constant for the println method; use Log.v.

            */

            public static final int VERBOSE = 2;

            /**

            * Priority constant for the println method; use Log.d.

            */

            public static final int DEBUG = 3;

            /**

            * Priority constant for the println method; use Log.i.

            */

            public static final int INFO = 4;

            /**

            * Priority constant for the println method; use Log.w.

            */

            public static final int WARN = 5;

            /**

            * Priority constant for the println method; use Log.e.

            */

            public static final int ERROR = 6;

            /**

            * Priority constant for the println method.

            */

            public static final int ASSERT = 7;

            /**

            * Exception class used to capture a stack trace in {@link #wtf()}.

            */

            private static class TerribleFailure extends Exception {

            TerribleFailure(String msg, Throwable cause) { super(msg, cause); }

            }

            private Log() {

            }

            /**

            * Send a {@link #VERBOSE} log message.

            * @param tag Used to identify the source of a log message. It usually identifies

            * the class or activity where the log call occurs.

            * @param msg The message you would like logged.

            */

            public static int v(String tag, String msg) {

            return println_native(LOG_ID_MAIN, VERBOSE, tag, msg);

            }

            /**

            * Send a {@link #VERBOSE} log message and log the exception.

            * @param tag Used to identify the source of a log message. It usually identifies

            * the class or activity where the log call occurs.

            * @param msg The message you would like logged.

            * @param tr An exception to log

            */

            public static int v(String tag, String msg, Throwable tr) {

            return println_native(LOG_ID_MAIN, VERBOSE, tag, msg + '/n' + getStackTraceString(tr));

            }

            /**

            * Send a {@link #DEBUG} log message.

            * @param tag Used to identify the source of a log message. It usually identifies

            * the class or activity where the log call occurs.

            * @param msg The message you would like logged.

            */

            public static int d(String tag, String msg) {

            return println_native(LOG_ID_MAIN, DEBUG, tag, msg);

            }

            /**

            * Send a {@link #DEBUG} log message and log the exception.

            * @param tag Used to identify the source of a log message. It usually identifies

            * the class or activity where the log call occurs.

            * @param msg The message you would like logged.

            * @param tr An exception to log

            */

            public static int d(String tag, String msg, Throwable tr) {

            return println_native(LOG_ID_MAIN, DEBUG, tag, msg + '/n' + getStackTraceString(tr));

            }

            /**

            * Send an {@link #INFO} log message.

            * @param tag Used to identify the source of a log message. It usually identifies

            * the class or activity where the log call occurs.

            * @param msg The message you would like logged.

            */

            public static int i(String tag, String msg) {

            return println_native(LOG_ID_MAIN, INFO, tag, msg);

            }

            /**

            * Send a {@link #INFO} log message and log the exception.

            * @param tag Used to identify the source of a log message. It usually identifies

            * the class or activity where the log call occurs.

            * @param msg The message you would like logged.

            * @param tr An exception to log

            */

            public static int i(String tag, String msg, Throwable tr) {

            return println_native(LOG_ID_MAIN, INFO, tag, msg + '/n' + getStackTraceString(tr));

            }

            /**

            * Send a {@link #WARN} log message.

            * @param tag Used to identify the source of a log message. It usually identifies

            * the class or activity where the log call occurs.

            * @param msg The message you would like logged.

            */

            public static int w(String tag, String msg) {

            return println_native(LOG_ID_MAIN, WARN, tag, msg);

            }

            /**

            * Send a {@link #WARN} log message and log the exception.

            * @param tag Used to identify the source of a log message. It usually identifies

            * the class or activity where the log call occurs.

            * @param msg The message you would like logged.

            * @param tr An exception to log

            */

            public static int w(String tag, String msg, Throwable tr) {

            return println_native(LOG_ID_MAIN, WARN, tag, msg + '/n' + getStackTraceString(tr));

            }

            /**

            * Checks to see whether or not a log for the specified tag is loggable at the specified level.

            *

            * The default level of any tag is set to INFO. This means that any level above and including



            關(guān)鍵詞: Android 框架簡(jiǎn)介

            評(píng)論


            相關(guān)推薦

            技術(shù)專區(qū)

            關(guān)閉