@@ -21,19 +21,19 @@ Android 2.2+
21
21
Apache commons-lang3 [ http://commons.apache.org/proper/commons-lang/ ] ( http://commons.apache.org/proper/commons-lang/ )
22
22
23
23
##Download
24
- Download [ the latest jar ] [ 1 ] or grab via Maven:
24
+ grab via Maven:
25
25
26
26
``` xml
27
27
<dependency >
28
28
<groupId >com.github.snowdream.android.util</groupId >
29
29
<artifactId >log</artifactId >
30
- <version >1.0.4 </version >
30
+ <version >1.1.0 </version >
31
31
</dependency >
32
32
```
33
33
34
34
or Gradle:
35
35
``` groovy
36
- compile 'com.github.snowdream.android.util:log:1.0.4 '
36
+ compile 'com.github.snowdream.android.util:log:1.1.0 '
37
37
```
38
38
39
39
##Usage
@@ -101,6 +101,7 @@ Log.e("TAG","test",new Throwable("test"));
101
101
log into one file with FilePathGenerator
102
102
``` java
103
103
Log . setFilePathGenerator(new FilePathGenerator .DefaultFilePathGenerator (" /mnt/sdcard/" ," app" ," .log" ));
104
+ // Log.setFilePathGenerator(new FilePathGenerator.DefaultFilePathGenerator(context,"app",".log"));
104
105
// Log.setFilePathGenerator(new FilePathGenerator.DateFilePathGenerator("/mnt/sdcard/","app",".log"));
105
106
// Log.setFilePathGenerator(new FilePathGenerator.LimitSizeFilePathGenerator("/mnt/sdcard/","app",".log",10240));
106
107
@@ -158,6 +159,4 @@ distributed under the License is distributed on an "AS IS" BASIS,
158
159
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
159
160
See the License for the specific language governing permissions and
160
161
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