Commit | Line | Data |
---|---|---|
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 | ||
18 | package 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 | */ | |
25 | final 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); | |
38 | } |