-
Notifications
You must be signed in to change notification settings - Fork 984
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
27 additions
and
23 deletions.
There are no files selected for viewing
23 changes: 0 additions & 23 deletions
23
modules/react-native-status/android/src/test/java/android/util/Log.java
This file was deleted.
Oops, something went wrong.
27 changes: 27 additions & 0 deletions
27
modules/react-native-status/android/src/test/java/android/util/Log.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
package android.util | ||
|
||
object Log { | ||
@JvmStatic | ||
fun d(tag: String, msg: String): Int { | ||
println("DEBUG: $tag: $msg") | ||
return 0 | ||
} | ||
|
||
@JvmStatic | ||
fun i(tag: String, msg: String): Int { | ||
println("INFO: $tag: $msg") | ||
return 0 | ||
} | ||
|
||
@JvmStatic | ||
fun w(tag: String, msg: String): Int { | ||
println("WARN: $tag: $msg") | ||
return 0 | ||
} | ||
|
||
@JvmStatic | ||
fun e(tag: String, msg: String): Int { | ||
println("ERROR: $tag: $msg") | ||
return 0 | ||
} | ||
} |