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. 版本管理之Git(二):Win7上Git安装及简单配置过程

    一.安装包 msysgit(Windows版本的Git) 下载地址:http://code.google.com/p/msysgit/downloads/list?q=full+installer+o ...

  2. [机器学习] 虚拟机VMware中使用Ubuntu的联网问题

    在VMware中安装Ubuntu要解决两个问题: 1.VMware Tools安装使用 2.Ubuntu联网的虚拟机设置 1.VMware Tools安装 它的作用就是使用户可以从物理主机直接往虚拟机 ...

  3. ZooKeeper个人笔记之节点的监听

    create public String create(String path, byte[] data, List<ACL> acl, CreateMode createMode) th ...

  4. ibatis实现Iterate的使用

    <iterate property="" /*可选, 从传入的参数集合中使用属性名去获取值, 这个必须是一个List类型, 否则会出现OutofRangeException, ...

  5. 基于socket的TCP和UDP编程

    一.概述 TCP(传输控制协议)和UDP(用户数据报协议是网络体系结构TCP/IP模型中传输层一层中的两个不同的通信协议. TCP:传输控制协议,一种面向连接的协议,给用户进程提供可靠的全双工的字节流 ...

  6. 普通用户ssh无密码登录设置

    这段时间在做Hadoop的环境配置,用root用户只需要按照一定的步骤进行操作就可以直接实现无密码登录,但如果使用新建用户,怎么尝试都不行. 本帖大部分都是其他人帖子的内容.如果按照下面的步骤还是不能 ...

  7. Clang比 gcc/g++更人性化代码出错提示的C/C++编译器

    编译器方面的几个命令 gcc/g++ 一. 常用编译命令选项 常用用法 gcc -Wall test.c -o test gcc编译过程 .c ->(-E)-> .i[中间文件] -> ...

  8. C# 控制datagridview的combox属性的列绑定数据

    //datagridvie列绑定list的数据 List<User> listChange = GetChange();//查询数据库内容,保存到list this.datagridvie ...

  9. 总结-EL表达式

    <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> <%@ tagl ...

  10. apachetop 实时监控apache指定日志

    编译安装,压缩包戳我下载 帮助文档 # apachetop -h ApacheTop v0.12.6 - Usage: File options: -f logfile open logfile (a ...