Move to kernel style SPDX license identifiers
[lttng-ust.git] / liblttng-ust-java-agent / java / lttng-ust-agent-log4j / org / lttng / ust / agent / log4j / LttngLog4jApi.java
1 /*
2 * SPDX-License-Identifier: LGPL-2.1-only
3 *
4 * Copyright (C) 2016 EfficiOS Inc.
5 * Copyright (C) 2016 Alexandre Montplaisir <alexmonthy@efficios.com>
6 */
7
8 package org.lttng.ust.agent.log4j;
9
10 /**
11 * Virtual class containing the Java side of the LTTng-log4j JNI API methods.
12 *
13 * @author Alexandre Montplaisir
14 */
15 final class LttngLog4jApi {
16
17 private LttngLog4jApi() {}
18
19 static native void tracepoint(String msg,
20 String logger_name,
21 String class_name,
22 String method_name,
23 String file_name,
24 int line_number,
25 long timestamp,
26 int loglevel,
27 String thread_name);
28
29 static native void tracepointWithContext(String msg,
30 String logger_name,
31 String class_name,
32 String method_name,
33 String file_name,
34 int line_number,
35 long timestamp,
36 int loglevel,
37 String thread_name,
38 byte[] contextEntries,
39 byte[] contextStrings);
40 }
This page took 0.029623 seconds and 4 git commands to generate.