-
Notifications
You must be signed in to change notification settings - Fork 6
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
1 parent
84386e2
commit a4b667a
Showing
6 changed files
with
179 additions
and
118 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
68 changes: 68 additions & 0 deletions
68
common/main/cpp/com_couchbase_lite_internal_core_impl_NativeC4Log.h
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,68 @@ | ||
#include <jni.h> | ||
/* Header for class com_couchbase_lite_internal_core_impl_NativeC4Log */ | ||
|
||
#ifndef _Included_com_couchbase_lite_internal_core_impl_NativeC4Log | ||
#define _Included_com_couchbase_lite_internal_core_impl_NativeC4Log | ||
#ifdef __cplusplus | ||
extern "C" { | ||
#endif | ||
/* | ||
* Class: com_couchbase_lite_internal_core_impl_NativeC4Log | ||
* Method: log | ||
* Signature: (Ljava/lang/String;ILjava/lang/String;)V | ||
*/ | ||
JNIEXPORT void JNICALL Java_com_couchbase_lite_internal_core_impl_NativeC4Log_log | ||
(JNIEnv *, jclass, jstring, jint, jstring); | ||
|
||
/* | ||
* Class: com_couchbase_lite_internal_core_impl_NativeC4Log | ||
* Method: getBinaryFileLevel | ||
* Signature: ()I | ||
*/ | ||
JNIEXPORT jint JNICALL Java_com_couchbase_lite_internal_core_impl_NativeC4Log_getBinaryFileLevel | ||
(JNIEnv *, jclass); | ||
|
||
/* | ||
* Class: com_couchbase_lite_internal_core_impl_NativeC4Log | ||
* Method: setBinaryFileLevel | ||
* Signature: (I)V | ||
*/ | ||
JNIEXPORT void JNICALL Java_com_couchbase_lite_internal_core_impl_NativeC4Log_setBinaryFileLevel | ||
(JNIEnv *, jclass, jint); | ||
|
||
/* | ||
* Class: com_couchbase_lite_internal_core_impl_NativeC4Log | ||
* Method: writeToBinaryFile | ||
* Signature: (Ljava/lang/String;IIJZLjava/lang/String;)V | ||
*/ | ||
JNIEXPORT void JNICALL Java_com_couchbase_lite_internal_core_impl_NativeC4Log_writeToBinaryFile | ||
(JNIEnv *, jclass, jstring, jint, jint, jlong, jboolean, jstring); | ||
|
||
/* | ||
* Class: com_couchbase_lite_internal_core_impl_NativeC4Log | ||
* Method: getLevel | ||
* Signature: (Ljava/lang/String;)I | ||
*/ | ||
JNIEXPORT jint JNICALL Java_com_couchbase_lite_internal_core_impl_NativeC4Log_getLevel | ||
(JNIEnv *, jclass, jstring); | ||
|
||
/* | ||
* Class: com_couchbase_lite_internal_core_impl_NativeC4Log | ||
* Method: setCallbackLevel | ||
* Signature: (I)V | ||
*/ | ||
JNIEXPORT void JNICALL Java_com_couchbase_lite_internal_core_impl_NativeC4Log_setCallbackLevel | ||
(JNIEnv *, jclass, jint); | ||
|
||
/* | ||
* Class: com_couchbase_lite_internal_core_impl_NativeC4Log | ||
* Method: setLevel | ||
* Signature: (Ljava/lang/String;I)V | ||
*/ | ||
JNIEXPORT void JNICALL Java_com_couchbase_lite_internal_core_impl_NativeC4Log_setLevel | ||
(JNIEnv *, jclass, jstring, jint); | ||
|
||
#ifdef __cplusplus | ||
} | ||
#endif | ||
#endif |
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
Oops, something went wrong.