JNI bridge methods that take a String directly instead of a lambda. These are used by the C++ helper for efficient logging from native code.