GithubHelp home page GithubHelp logo

townwang / log Goto Github PK

View Code? Open in Web Editor NEW
14.0 2.0 1.0 140 KB

Breaking android log word limits and automatically formatting json.

Home Page: https://townwang.com

License: Apache License 2.0

Java 100.00%
utils log

log's Introduction

Log

Download GitHub license

Breaking android log word limits and automatically formatting json.

定制个Log,自带的Json不会格式化 ,而且不能超过4000 很尴尬,很难受!

使用方法

build.gradle(Module.app)

dependencies {
 mplementation 'com.townwang:logutils:1.0.0'
}

设置配置(最好在Application中)

//初始化设置过滤关键词以及是否打印
Log.setConfig("Demo",true);

开始使用吧:

Log.v ("皮一下,很开心");
Log.d ("这很代码");
Log.i ("重要的在下面");
Log.e ("出了个错,别介意");
Log.json ("打印JSON","这里的Json字符串");

看看Json效果

微信截图_20180705173344.png

log's People

Contributors

townwang avatar

Stargazers

 avatar  avatar 夜尽天明 avatar haoht avatar Abraham avatar Carlo avatar Dev avatar 伊撒尔 avatar  avatar maohuaiXu avatar  avatar  avatar  avatar  avatar

Watchers

James Cloos avatar  avatar

Forkers

selfimprw

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.