Commit | Line | Data |
---|---|---|
6e7bc9e0 | 1 | /* |
c0c0989a | 2 | * SPDX-License-Identifier: LGPL-2.1-only |
6e7bc9e0 | 3 | * |
c0c0989a MJ |
4 | * Copyright (C) 2016 EfficiOS Inc. |
5 | * Copyright (C) 2016 Alexandre Montplaisir <alexmonthy@efficios.com> | |
6e7bc9e0 AM |
6 | */ |
7 | ||
8 | package org.lttng.ust.agent.jul; | |
9 | ||
10 | /** | |
11 | * Virtual class containing the Java side of the LTTng-JUL JNI API methods. | |
12 | * | |
13 | * @author Alexandre Montplaisir | |
14 | */ | |
15 | final class LttngJulApi { | |
16 | ||
17 | private LttngJulApi() {} | |
18 | ||
19 | static native void tracepoint(String msg, | |
20 | String logger_name, | |
21 | String class_name, | |
22 | String method_name, | |
23 | long millis, | |
24 | int log_level, | |
25 | int thread_id); | |
8ab5c06b AM |
26 | |
27 | static native void tracepointWithContext(String msg, | |
28 | String logger_name, | |
29 | String class_name, | |
30 | String method_name, | |
31 | long millis, | |
32 | int log_level, | |
33 | int thread_id, | |
b1ca4c5f AM |
34 | byte[] contextEntries, |
35 | byte[] contextStrings); | |
6e7bc9e0 | 36 | } |