forked from envoyproxy/envoy
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mobile: Remove jni_log (envoyproxy#32958)
Signed-off-by: Fredy Wijaya <[email protected]>
- Loading branch information
Showing
6 changed files
with
2 additions
and
92 deletions.
There are no files selected for viewing
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
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
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
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
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 |
---|---|---|
@@ -1,19 +1,7 @@ | ||
#include <android/log.h> | ||
|
||
#include "library/jni/jni_support.h" | ||
|
||
// NOLINT(namespace-envoy) | ||
|
||
int jni_log_fmt(const char* /*tag*/, const char* /*fmt*/, void* /*value*/) { | ||
// For debug logging, use __android_log_print(ANDROID_LOG_VERBOSE, tag, fmt, value); | ||
return 0; | ||
} | ||
|
||
int jni_log(const char* /*tag*/, const char* /*str*/) { | ||
// For debug logging, use __android_log_write(ANDROID_LOG_VERBOSE, tag, str); | ||
return 0; | ||
} | ||
|
||
jint attach_jvm(JavaVM* vm, JNIEnv** p_env, void* thr_args) { | ||
return vm->AttachCurrentThread(p_env, thr_args); | ||
} |
Oops, something went wrong.