| 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.log4j2; |
| 9 | |
| 10 | /** |
| 11 | * Virtual class containing the Java side of the LTTng-log4j JNI API methods. |
| 12 | */ |
| 13 | final class LttngLog4j2Api { |
| 14 | |
| 15 | private LttngLog4j2Api() { |
| 16 | } |
| 17 | |
| 18 | static native void tracepointWithContext(String message, String loggerName, String className, String methodName, |
| 19 | String fileName, int lineNumber, long timeStamp, int logLevel, String threadName, byte[] contextEntries, |
| 20 | byte[] contextStrings, boolean log4j1Compat); |
| 21 | } |