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
CommitLineData
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
8package 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 */
15final 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);
8ab5c06b
AM
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,
b1ca4c5f
AM
38 byte[] contextEntries,
39 byte[] contextStrings);
6e7bc9e0 40}
This page took 0.025396 seconds and 4 git commands to generate.