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. 基于RXTX的串口通讯 windows64位系统可用

    项目地址 http://download.csdn.net/detail/xqshishen/7739539

  2. 【原】iOS学习之UIApplication及其代理

    1. 什么是UIApplication UIApplication 对象是应用程序的象征,不能手动创建,不能 alloc init,一个应用程序只允许 一个 . 每个应用都有自己的 UIApplica ...

  3. Salt安装(yum不可用时)

        salt-master安装   [salt-master]# yum install salt-master   或者 curl -L http://bootstrap.saltstack.o ...

  4. POJ 3233 Matrix Power Series(矩阵等比求和)

    题目链接 模板题. #include <cstdio> #include <cstring> #include <iostream> #include <ma ...

  5. C# ArrayList的用法

    System.Collections.ArrayList类是一个特殊的数组.通过添加和删除元素,就可以动态改变数组的长度. 一.优点 1. 支持自动改变大小的功能 2. 可以灵活的插入元素 3. 可以 ...

  6. HDU 1166 敌兵布阵 (树状数组)

    题目链接 : http://acm.hdu.edu.cn/showproblem.php?pid=1166 敌兵布阵 Time Limit: 2000/1000 MS (Java/Others)    ...

  7. STM32环境搭建/学习观点/自学方法 入门必看

    文章转自armfly开发板V4软件开发手册,分享学习~ 今天有幸看到armfly的开发板软件开发手册,开头的基础知识,真的很有用,还好有看到,一切都不迟,感悟很多,摘抄部分,学习分享~ 关于开发环境的 ...

  8. Linux 下 YUM 安装 Percona Server 5.6

    Percona Server 是 MySQL 的衍生版,专注于 Linux/BSD 下 MySQL 数据库服务器的改进, 在功能和性能上较 MySQL 有着显著的提升. Percona Server ...

  9. JQuery实现方法,简单示例

    function $() { var elements = new Array(); for (var i = 0; i < arguments.length; i++) { var eleme ...

  10. ansible-安装与使用

    1.安装ansible: 环境为centos7. 1) epel 采用阿里源的epel.安装方式连接:http://mirrors.aliyun.com/help/epel 2)yum install ...