Skip to content

Commit 3228b5a

Browse files
author
snowdream
committed
Updated: README.md
1 parent bdb5bda commit 3228b5a

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

README.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,19 @@ Android 2.2+
2121
Apache commons-lang3 [http://commons.apache.org/proper/commons-lang/](http://commons.apache.org/proper/commons-lang/)
2222

2323
##Download
24-
Download [the latest jar][1] or grab via Maven:
24+
grab via Maven:
2525

2626
```xml
2727
<dependency>
2828
<groupId>com.github.snowdream.android.util</groupId>
2929
<artifactId>log</artifactId>
30-
<version>1.0.4</version>
30+
<version>1.1.0</version>
3131
</dependency>
3232
```
3333

3434
or Gradle:
3535
```groovy
36-
compile 'com.github.snowdream.android.util:log:1.0.4'
36+
compile 'com.github.snowdream.android.util:log:1.1.0'
3737
```
3838

3939
##Usage
@@ -101,6 +101,7 @@ Log.e("TAG","test",new Throwable("test"));
101101
log into one file with FilePathGenerator
102102
```java
103103
Log.setFilePathGenerator(new FilePathGenerator.DefaultFilePathGenerator("/mnt/sdcard/","app",".log"));
104+
//Log.setFilePathGenerator(new FilePathGenerator.DefaultFilePathGenerator(context,"app",".log"));
104105
//Log.setFilePathGenerator(new FilePathGenerator.DateFilePathGenerator("/mnt/sdcard/","app",".log"));
105106
//Log.setFilePathGenerator(new FilePathGenerator.LimitSizeFilePathGenerator("/mnt/sdcard/","app",".log",10240));
106107

@@ -158,6 +159,4 @@ distributed under the License is distributed on an "AS IS" BASIS,
158159
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
159160
See the License for the specific language governing permissions and
160161
limitations under the License.
161-
```
162-
163-
[1]:https://oss.sonatype.org/content/groups/public/com/github/snowdream/android/util/log/1.0.4/log-1.0.4.jar
162+
```

0 commit comments

Comments
 (0)