Fix: Correctly report filter notifications on Java agent teardown
[lttng-ust.git] / liblttng-ust-java-agent / java / lttng-ust-agent-log4j / org / lttng / ust / agent / log4j / LttngLog4jApi.java
CommitLineData
6e7bc9e0
AM
1/*
2 * Copyright (C) 2016 - EfficiOS Inc., Alexandre Montplaisir <alexmonthy@efficios.com>
3 *
4 * This library is free software; you can redistribute it and/or modify it
5 * under the terms of the GNU Lesser General Public License, version 2.1 only,
6 * as published by the Free Software Foundation.
7 *
8 * This library is distributed in the hope that it will be useful, but WITHOUT
9 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
10 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
11 * for more details.
12 *
13 * You should have received a copy of the GNU Lesser General Public License
14 * along with this library; if not, write to the Free Software Foundation,
15 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
16 */
17
18package org.lttng.ust.agent.log4j;
19
20/**
21 * Virtual class containing the Java side of the LTTng-log4j JNI API methods.
22 *
23 * @author Alexandre Montplaisir
24 */
25final class LttngLog4jApi {
26
27 private LttngLog4jApi() {}
28
29 static native void tracepoint(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);
8ab5c06b
AM
38
39 static native void tracepointWithContext(String msg,
40 String logger_name,
41 String class_name,
42 String method_name,
43 String file_name,
44 int line_number,
45 long timestamp,
46 int loglevel,
47 String thread_name,
48 byte[] contextInformation);
6e7bc9e0 49}
This page took 0.024863 seconds and 4 git commands to generate.