Split the JNI APIs in separate classes
[deliverable/lttng-ust.git] / liblttng-ust-java-agent / java / lttng-ust-agent-jul / org / lttng / ust / agent / jul / LttngLogHandler.java
index 39e08a831d51614ec3e5bcd4bc8e9d338ab7456e..3e61fe957471266ad3991f9e25d40f440ac83edd 100644 (file)
@@ -123,7 +123,7 @@ public class LttngLogHandler extends Handler implements ILttngHandler {
                 * caller is used for the event name, the raw message is taken, the
                 * loglevel of the record and the thread ID.
                 */
-               tracepoint(formattedMessage,
+               LttngJulApi.tracepoint(formattedMessage,
                                record.getLoggerName(),
                                record.getSourceClassName(),
                                record.getSourceMethodName(),
@@ -132,12 +132,4 @@ public class LttngLogHandler extends Handler implements ILttngHandler {
                                record.getThreadID());
        }
 
-       /* Send tracepoint information to the JNI library */
-       private native void tracepoint(String msg,
-                       String logger_name,
-                       String class_name,
-                       String method_name,
-                       long millis,
-                       int log_level,
-                       int thread_id);
 }
This page took 0.024578 seconds and 5 git commands to generate.