Add LOG4J2 domain to the Log4j 2.x agent
[lttng-ust.git] / src / lib / lttng-ust-java-agent / java / lttng-ust-agent-log4j2 / org / lttng / ust / agent / log4j2 / LttngLog4j2Api.java
CommitLineData
464c4756
MJ
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
8package org.lttng.ust.agent.log4j2;
9
10/**
11 * Virtual class containing the Java side of the LTTng-log4j JNI API methods.
12 */
13final 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,
495b8381
MJ
20 byte[] contextStrings, boolean log4j1Compat);
21}
This page took 0.024118 seconds and 4 git commands to generate.