Registry / logging / pax-logging-api

pax-logging-api

JSON →
library2.3.4javamavenunverified

Pax Logging API provides a unified logging facade supporting multiple logging frameworks like SLF4J, Log4J, and JULI for OSGi environments.

<dependency> <groupId>org.ops4j.pax.logging</groupId> <artifactId>pax-logging-api</artifactId> <version>2.3.4</version> </dependency>
INSTALL
IMPORT
SIG · PAX-LOGGING-API
P
pax-logging-api
loggingjavav2.3.4
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

PaxLoggingService
org.ops4j.pax.logging.PaxLoggingService

Obtains the PaxLoggingService and logs an info message.

import org.ops4j.pax.logging.PaxLoggingService; import org.ops4j.pax.logging.PaxLoggingManager; public class Main { public static void main(String[] args) { PaxLoggingService service = PaxLoggingManager.getPaxLoggingService(); service.info("Hello from Pax Logging"); } }
Debug
Known issues
breakingPax Logging API requires OSGi runtime; may not work in standalone Java applications.
fix
Use a standard logging facade like SLF4J directly if not in an OSGi environment.
affects: all
Upgrade
Version history
2.3.4latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
15 hits · last 30 days
node
14
Amazon
1
Resources
pax-logging-api — mvn dependency:get pax-logging-api · libregistry