A momentary Rise of Android logs (compared to regulate self-habits)

Source: Internet
Author: User

 PackageCom.redbull.log;ImportAndroid.util.Log;/*** This is an overriding class (the log rewrite) can finally be normalized (though a small problem, but a good personal habit is important) * *@authorCatherine.brain **/ Public classLogger {/**     *      * @paramLog wants to remind us of the logs * **/     Public Static voidlog (String log) {//if (buildconfig.debug)LOG.D ("Clockdemo", log); }     Public Static voidLogError (String log) {//if (buildconfig.debug)LOG.E ("Clockdemo", log); }     Public Static voidlogwarning (String log) {//if (buildconfig.debug)LOG.W ("Clockdemo", log); }     Public Static voidlogverbose (String log) {//if (buildconfig.debug)LOG.V ("Clockdemo", log); }     Public Static voidLoginfo (String log) {//if (buildconfig.debug)LOG.I ("Clockdemo", log); }    /**     *      * @paramLog * Want to remind us of the logs *@paramfrom * which class or iconic **/     Public Static voidd (string from, string log) {//if (buildconfig.debug)log.d (from, Log); }     Public Static voide (string from, string log) {//if (buildconfig.debug)log.e (from, Log); }     Public Static voidW (string from, string log) {//if (buildconfig.debug)LOG.W (from, Log); }     Public Static voidV (string from, string log) {//if (buildconfig.debug)log.v (from, Log); }     Public Static voidI (string from, string log) {//if (buildconfig.debug)log.i (from, Log); }}

I used to ask myself to do the text habit of standardizing lines. However, he has not given himself time. Of course, this is also an excuse. All right. Give yourself a final touches first. By the time, with copy

A momentary Rise of Android logs (compared to regulate self-habits)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.