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. 博客 博客vno主题(我正在用的这个博客主题)

    将你自己博客园博客的主题设置为lessismore, #divRefreshComments { text-align: right; margin-right: 10px; margin-botto ...

  2. 2016-2017 ACM-ICPC, NEERC, Southern Subregional Contest

    A. Toda 2 按题意模拟即可. #include <bits/stdc++.h> using namespace std ; typedef pair < int , int ...

  3. Bug整理——$(window).height()获取到$(document).height()的问题

    想看解决方案不想看无聊乏味的bug解决过程的同学,请直接跳转到页面底部~ 今天在做项目的过程中遇到了一个BUG,项目中需要获取到浏览器客户区的高度以方便做一些适应性调整,代码如下: $(documen ...

  4. 【水】基于ege的2048

    不要问我ege怎么装 http://tieba.baidu.com/p/2227018541 好,现在我们装好了ege 开始写2048吧 没有算法,单纯模拟,不用讲解——这才叫[水]的含义 界面极度简 ...

  5. CSS:文字不在图片中间

    平时用的text-align属性比较多,相比较而言vertical-align则用的比较少. 当文字和图片布局在一起时,文字不能对齐到图片的中间,向这样: HTML: <div><i ...

  6. Go语言练习:go语言与C语言的交互——cgo

    1.代码 package main import "fmt" /* #include <stdlib.h> #include <stdio.h> void ...

  7. Canvas 实现七彩喷泉

    <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content ...

  8. Canvas实现文字散粒子化

    <!doctype html> <html lang="en"> <head> <meta charset="UTF-8&quo ...

  9. ExAllocatePool、ExAllocatePoolWithTag

    PVOID p = ExAllocatePool(Pool_Type, Size); PVOID p = ExAllocatePoolWithTag(Pool_Type, Size, Tag); 调用 ...

  10. 用3D再现2D偶像的可爱,Cygames【偶像大师 灰姑娘女孩】开发示例

          作为万代南梦宫娱乐的偶像养成游戏[偶像大师]的派生作品,是由Mobage创作的[偶像大师 灰姑娘女孩].这个游戏的最新作品,是现在累计下载突破1200万的大作,Android/iOS平台的 ...