package skyseraph.android.util;

/**
* @Title : LogUtil.java
* @Package : tcl.nfc.phone.util
* @ClassName : LogUtil
* @Description : 通用调试类
* @author : skyseraph00@163.com
* @date : 2013-5-16 上午9:22:43
* @version : V1.2
*/
public class LogUtil { public static void v(String tag, String msg) {
if (MyConstant.isVerbose) {
android.util.Log.v(tag, msg);
}
} public static void v(String tag, String msg, Throwable t) {
if (MyConstant.isVerbose) {
android.util.Log.v(tag, msg, t);
}
} public static void d(String tag, String msg) {
if (MyConstant.isDebug) {
android.util.Log.d(tag, msg);
}
} public static void d(String tag, String msg, Throwable t) {
if (MyConstant.isDebug) {
android.util.Log.d(tag, msg, t);
}
} public static void i(String tag, String msg) {
if (MyConstant.isInformation) {
android.util.Log.i(tag, msg);
}
} public static void i(String tag, String msg, Throwable t) {
if (MyConstant.isInformation) {
android.util.Log.i(tag, msg, t);
}
} public static void w(String tag, String msg) {
if (MyConstant.isWarning) {
android.util.Log.w(tag, msg);
}
} public static void w(String tag, String msg, Throwable t) {
if (MyConstant.isWarning) {
android.util.Log.w(tag, msg, t);
}
} public static void e(String tag, String msg) {
if (MyConstant.isError) {
android.util.Log.e(tag, msg);
}
} public static void e(String tag, String msg, Throwable t) {
if (MyConstant.isError) {
android.util.Log.e(tag, msg, t);
}
}
}

Easy Tag Write(3.2)的更多相关文章

  1. Easy Tag Write(3.3)

    package skyseraph.android.util; /** * @Title : Constant.java * @Package : tcl.nfc.tv.util * @ClassNa ...

  2. Easy Tag Write(2)

    package skyseraph.android.util.nfc; import com.google.common.collect.BiMap; import com.google.common ...

  3. Easy Tag Write(1)

    package skyseraph.easytagwrite; import skyseraph.android.util.CustomDialog; import skyseraph.android ...

  4. Easy Tag Write(3.1)

    package skyseraph.android.util; import skyseraph.easytagwrite.R; import android.app.Dialog; import a ...

  5. [LeetCode] 70. Climbing Stairs_ Easy tag: Dynamic Programming

    You are climbing a stair case. It takes n steps to reach to the top. Each time you can either climb ...

  6. [LeetCode] 437. Path Sum III_ Easy tag: DFS

    You are given a binary tree in which each node contains an integer value. Find the number of paths t ...

  7. [LeetCode] 257. Binary Tree Paths_ Easy tag: DFS

    Given a binary tree, return all root-to-leaf paths. Note: A leaf is a node with no children. Example ...

  8. [LeetCode] 101. Symmetric Tree_ Easy tag: BFS

    Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center). For e ...

  9. JUnit5学习之五:标签(Tag)和自定义注解

    欢迎访问我的GitHub https://github.com/zq2599/blog_demos 内容:所有原创文章分类汇总及配套源码,涉及Java.Docker.Kubernetes.DevOPS ...

随机推荐

  1. ffplay代码播放pcm数据

    摘抄雷兄 http://blog.csdn.net/leixiaohua1020/article/details/46890259 /** * 最简单的SDL2播放音频的例子(SDL2播放PCM) * ...

  2. 基于华清远见STM32f051的 IIC从模式实现方法

    作者:卢老师,华清远见嵌入式学院讲师. 在大多情况下,我们使用MCU控制传感器,节点以及相关从设备,但在较为复杂的系统中,有时候也会使用MCU做为从设备. 下面是关于stm32f051的从模式实现方法 ...

  3. Testing with a mocking framework (EF6 onwards)

    When writing tests for your application it is often desirable to avoid hitting the database.  Entity ...

  4. [转]starling教程-触摸事件(Touch Events)(四)

    在前面提到过,Starling是Sparrow的姊妹篇,正因为这样,Starling里的touch事件的机制其实是为移动设备的触摸交互设计的,所以当你使用它进行使用鼠标交互的桌面应用开发时,第一眼会感 ...

  5. shell 套用expect

    先用if 判断expect有没有安装 没有就yum install expect #!/bin/bash passwd='123456' /usr/bin/expect <<-EOF se ...

  6. springMVC、httpClient调用别人提供的接口!!!(外加定时调用)

    import com.ibm.db.util.AppConfig; import com.ibm.db.util.JacksonUitl; import org.apache.http.HttpEnt ...

  7. ThinkPHP 3.2.3 使用 Swift Mailer 邮件系统发送邮件

    SwiftMailer 下载地址:https://github.com/swiftmailer/swiftmailer 版本:swiftmailer-5.x 把压缩包解压到 /ThinkPHP/Lib ...

  8. 关于java建立的的包import的问题

    之前修改classpath后,import自己写的包,用IDEA运行一直不通过,现在还没解决.... 是classpath修改不对,还是IDEA的问题? 哎,没有解决,只是在同一目录下才能用 不再纠结 ...

  9. C# String 前面不足位数补零的方法

    int i=10;方法1:Console.WriteLine(i.ToString("D5"));方法2:Console.WriteLine(i.ToString().PadLef ...

  10. python写2048小游戏

    #!/usr/bin/env python # coding=utf-8 #******************************************************** # > ...