Skip to content

Commit b4efe58

Browse files
committed
fix: Use Capacitor Logger instead of Android Log
1 parent 3e0000e commit b4efe58

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

assets/plugin-template/android/src/main/kotlin/__JAVA_PATH__.kt.mustache

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
package {{ PACKAGE_ID }}
22

3-
import android.util.Log
3+
import com.getcapacitor.Logger
44

55
class {{ CLASS }} {
66
77
fun echo(value: String?): String? {
8-
Log.i("Echo", value ?: "null")
8+
Logger.info("Echo", value ?: "null")
99
1010
return value
1111
}

0 commit comments

Comments
 (0)