Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 126c768

Browse files
committed
add Log class and some calls.
1 parent 86cf42a commit 126c768

File tree

1 file changed

+19
-0
lines changed
  • controller-application/Police/app/src/main/java/io/github/xei/police/app

1 file changed

+19
-0
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
package io.github.xei.police.app
2+
3+
import android.util.Log
4+
5+
class Log {
6+
7+
companion object {
8+
private const val TAG_DEBUG = "POLICE"
9+
10+
fun i(msg: String) {
11+
android.util.Log.i("$TAG_DEBUG-I", msg)
12+
}
13+
14+
fun e(msg: String) {
15+
android.util.Log.e("$TAG_DEBUG-E", msg)
16+
}
17+
}
18+
19+
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /