Skip to content

Commit 75a2894

Browse files
committed
Create README.md
1 parent e6a43a6 commit 75a2894

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

README.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# LogWriter
2+
A tool that write log to local.
3+
4+
You use this for saving app's log, incule crash log.
5+
6+
# Getting started
7+
In your Application class:
8+
``` java
9+
public class MyApplication extends Application {
10+
11+
@Override
12+
public void onCreate() {
13+
super.onCreate();
14+
Logger.init(this);
15+
}
16+
}
17+
```
18+
19+
Than in your code:
20+
``` java
21+
Logger.d("tag" "log message");
22+
```
23+
24+
Lastly the **logger.py** is a convenient script that comment or uncomment Logger statement.

0 commit comments

Comments
 (0)