zoukankan      html  css  js  c++  java
  • 喷了,第一次注意到这个方法

    Log.v() 琐事级日志信息。

    Log.d() 调试级日志信息。

    Log.i() 信息级日志信息。

    Log.w() 警告级日志信息。

    Log.e() 错误级日志信息。

    Log.wtf() 我操这不可能级日志信息。


        /**
         * What a Terrible Failure: Report a condition that should never happen.
         * The error will always be logged at level ASSERT with the call stack.
         * Depending on system configuration, a report may be added to the
         * {@link android.os.DropBoxManager} and/or the process may be terminated
         * immediately with an error dialog.
         * @param tag Used to identify the source of a log message.
         * @param msg The message you would like logged.
         */
        public static int wtf(String tag, String msg) {
            return wtf(tag, msg, null);
        }
    附赠源码

    /**
     * 这是何等的师太啊:报告一个根本不可能发生的情况。
     * 这种错误只会被登记为断言级信息。
     * 根据系统设置,还可能会在DropBoxManager中加入一条报告,
     * 并且进程可能伴随着一个报错对话框被马上中止。
     */

  • 相关阅读:
    有一种尺度叫圆融
    十大经典排序算法
    Maximal Square
    Word Break
    Flatten List
    Triangle
    Paint Fence
    Longest Increasing Continuous Subsequence
    Minimum Size Subarray Sum
    Letter Combinations of a Phone Number
  • 原文地址:https://www.cnblogs.com/chihane/p/3952415.html
Copyright © 2011-2022 走看看