Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
ChayChan
KLog
提交
8ddd0207
K
KLog
项目概览
ChayChan
/
KLog
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
K
KLog
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
8ddd0207
编写于
11月 17, 2015
作者:
Z
ZhaoKaiQiang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
上传到jCenter,修改réadmet
上级
a20fe7e0
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
18 addition
and
7 deletion
+18
-7
README.md
README.md
+12
-2
app/app.iml
app/app.iml
+2
-1
app/build.gradle
app/build.gradle
+2
-2
library/build.gradle
library/build.gradle
+1
-1
library/library.iml
library/library.iml
+1
-1
未找到文件。
README.md
浏览文件 @
8ddd0207
...
...
@@ -4,7 +4,7 @@
This is a useful log tool for Android
Android LogCat 工具类,支持行号、所在函数、点击自动跳转、Json格式自定解析打印等功能。
Android LogCat 工具类,支持行号、所在函数、点击自动跳转、Json格式自定解析打印
、存储Log到文件
等功能。
中文文档请戳
[
这里
](
http://blog.csdn.net/zhaokaiqiang1992/article/details/49837627
)
。
...
...
@@ -46,11 +46,21 @@ you can print a String with json format ,and it will be formated as following
as same as above , but with a tag whitch are set by yourself
![](
http://i13.tietuku.com/bc9714547a4f50fe.png
)
###KLog.file()
you can save the log string in to file
```
KLog.file(TAG, Environment.getExternalStorageDirectory(), "test.txt", JSON_LONG);
```
![](
http://i5.tietuku.com/91a14048978c91c1.png
)
##JCenter
```
dependencies {
compile 'com.github.zhaokaiqiang.klog:library:0.
0.1
'
compile 'com.github.zhaokaiqiang.klog:library:0.
1.0
'
}
```
...
...
app/app.iml
浏览文件 @
8ddd0207
...
...
@@ -71,6 +71,7 @@
<excludeFolder
url=
"file://$MODULE_DIR$/build/intermediates/dex"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/build/intermediates/exploded-aar/com.android.support/appcompat-v7/23.1.0/jars"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/build/intermediates/exploded-aar/com.android.support/support-v4/23.1.0/jars"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/build/intermediates/exploded-aar/com.github.zhaokaiqiang.klog/library/0.1.0/jars"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/build/intermediates/incremental"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/build/intermediates/manifests"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/build/intermediates/pre-dexed"
/>
...
...
@@ -85,7 +86,7 @@
<orderEntry
type=
"sourceFolder"
forTests=
"false"
/>
<orderEntry
type=
"library"
exported=
""
name=
"support-annotations-23.1.0"
level=
"project"
/>
<orderEntry
type=
"library"
exported=
""
name=
"appcompat-v7-23.1.0"
level=
"project"
/>
<orderEntry
type=
"library"
exported=
""
name=
"library-0.1.0"
level=
"project"
/>
<orderEntry
type=
"library"
exported=
""
name=
"support-v4-23.1.0"
level=
"project"
/>
<orderEntry
type=
"module"
module-name=
"library"
exported=
""
/>
</component>
</module>
\ No newline at end of file
app/build.gradle
浏览文件 @
8ddd0207
...
...
@@ -29,6 +29,6 @@ android {
dependencies
{
compile
fileTree
(
include:
[
'*.jar'
],
dir:
'libs'
)
compile
'com.android.support:appcompat-v7:23.1.0'
// compile 'com.github.zhaokaiqiang.klog:library:0.0.1
'
compile
project
(
':library'
)
compile
'com.github.zhaokaiqiang.klog:library:0.1.0
'
//
compile project(':library')
}
library/build.gradle
浏览文件 @
8ddd0207
...
...
@@ -2,7 +2,7 @@ apply plugin: 'com.android.library'
apply
plugin:
'com.github.dcendents.android-maven'
apply
plugin:
'com.jfrog.bintray'
version
=
"0.
0.1
"
version
=
"0.
1.0
"
android
{
compileSdkVersion
23
...
...
library/library.iml
浏览文件 @
8ddd0207
<?xml version="1.0" encoding="UTF-8"?>
<module
external.linked.project.id=
":library"
external.linked.project.path=
"$MODULE_DIR$"
external.root.project.path=
"$MODULE_DIR$/.."
external.system.id=
"GRADLE"
external.system.module.group=
"com.github.zhaokaiqiang.klog"
external.system.module.version=
"0.
0.1
"
type=
"JAVA_MODULE"
version=
"4"
>
<module
external.linked.project.id=
":library"
external.linked.project.path=
"$MODULE_DIR$"
external.root.project.path=
"$MODULE_DIR$/.."
external.system.id=
"GRADLE"
external.system.module.group=
"com.github.zhaokaiqiang.klog"
external.system.module.version=
"0.
1.0
"
type=
"JAVA_MODULE"
version=
"4"
>
<component
name=
"FacetManager"
>
<facet
type=
"android-gradle"
name=
"Android-Gradle"
>
<configuration>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录