Commit bd98ef49 authored by Richard-Cao's avatar Richard-Cao
Browse files

upload android logan version

Showing with 15 additions and 3 deletions
+15 -3
......@@ -17,4 +17,4 @@ org.gradle.jvmargs=-Xmx1536m
# org.gradle.parallel=true
groupId=com.dianping.android.sdk
artifactId=logan
versionCode=1.2.1
\ No newline at end of file
versionCode=1.2.2
\ No newline at end of file
......@@ -24,7 +24,7 @@ Logan是美团点评集团移动端基础日志组件。名称是Log和An的组
在项目的`build.gradle`文件中添加:
```groovy
compile 'com.dianping.android.sdk:logan:1.2.1'
compile 'com.dianping.android.sdk:logan:1.2.2'
```
### Usage
......@@ -96,6 +96,12 @@ Logan.s(date, mSendLogRunnable);
其中第一个参数为日期数组(yyyy-MM-dd)。
### Permission
如果你需要上传日志到服务器,需要申请 INTERNET 权限。
如果你需要写日志到外部存储,或者从外部存储读取日志信息,则需要 WRITE_EXTERNAL_STORAGE 权限或者 READ_EXTERNAL_STORAGE 权限。
## iOS & macOS
### Installation
......
......@@ -24,7 +24,7 @@ If you want to build the source, make sure your NDK version is not higher than *
Add the following content in the project `build.gradle` file:
```groovy
compile 'com.dianping.android.sdk:logan:1.2.1'
compile 'com.dianping.android.sdk:logan:1.2.2'
```
### Usage
......@@ -97,6 +97,12 @@ Logan.s(date, mSendLogRunnable);
One of the first parameter is date array(yyyy-MM-dd).
### Permission
If you upload log file to server, you need INTERNET permission.
If you write log to SD card or read log info from SD card, you need WRITE_EXTERNAL_STORAGE and READ_EXTERNAL_STORAGE permission
## iOS & macOS
### Installation
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment