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. onDestroy  和 onBackPressed、onfinish 的区别

    在android 开发中, 我容易不区分 onDestroy .onBackpress.onFinish. 其实,可以这样理解: (1)onDestory 的使用,是销毁了activity的实例在内存 ...

  2. D3.js部署node环境开发

    总结一段D3.js部署node环境的安装过程 准备阶段: 首先电脑上要安装node环境,这个阶段过滤掉,如果node环境都不会装,那就别玩基于node环境搞的其他东西了. 搭建环境: 我在自己的F:系 ...

  3. Redis 数据类型总结—String

    1.1 数据类型 Redis常用五种数据类型:string,   hash,   list,   set,    zset(sorted set). Redis内部使用一个redisObject对象来 ...

  4. cocos2d-x初步了解

    1.渲染 2.帧率(FPS) 超过75一般就不容易察觉到有明显的流畅度提升 >50 非常好! 30~40  一般, 20~30  及格,有点勉强. 3.渲染驱动游戏 事件驱动游戏 4.cocos ...

  5. phpcmsv9多表联合查询分页功能实现

    phpcms v9里面自带的listinfo分页函数蛮好用的,可惜啊.不支持多表查询并分页. 看了一下前台模板层支持get标签,支持多表查询,支持分页.刚好可以把这个功能搬到后台来使用. 我们现在对g ...

  6. sql例子

    select * from plat_material_resource where stl_url LIKE '/data1/upload%' --截取字符串 UPDATE plat_materia ...

  7. 【完整靠谱版】结合公司项目,仔细总结自己使用百度编辑器实现FTP上传的完整过程

    说在前面 工作中会遇到很多需要使用富文本编辑器的地方,比如我现在发布这篇文章离不开这个神器,而且现在网上编辑器太多了.记得之前,由于工作需要自己封装过一个编辑器的公共插件,是用ckeditor改版的, ...

  8. EntityFramework 连接字符串

    1. Microsoft SQL Server 2016 LocalDB <connectionStrings> <add name="DefaultConnection& ...

  9. 关于 windows 下 node_modules\node-sass\vendor 的报错解决方法

    项目git clone下来之后,运行npminstall, npm start报错代码如下: ERROR in ENOENT: no such file or directory, scandir ' ...

  10. js获取当前时间戳 不需毫秒数

    var timestamp = Date.parse(new Date())/1000;