diff --git a/DEVELOP.md b/DEVELOP.md index d200c3fd..b2245835 100644 --- a/DEVELOP.md +++ b/DEVELOP.md @@ -20,12 +20,11 @@ The client captures relevant keyboard and mouse events, that it transmits to the server, which injects them to the device. - ## Server - ### Privileges + Capturing the screen requires some privileges, which are granted to `shell`. The server is a Java application (with a [`public static void main(String... diff --git a/server/src/main/java/com/genymobile/scrcpy/Ln.java b/server/src/main/java/com/genymobile/scrcpy/Ln.java index c39fc621..1e27598b 100644 --- a/server/src/main/java/com/genymobile/scrcpy/Ln.java +++ b/server/src/main/java/com/genymobile/scrcpy/Ln.java @@ -36,6 +36,8 @@ public final class Ln { return level.ordinal() >= threshold.ordinal(); } + // "v", "d", "i" (functions?) -> to a (public static void) "log_msg" ? + public static void v(String message) { if (isEnabled(Level.VERBOSE)) { Log.v(TAG, message);