bjhargrave / slf4j-osgi

SLF4J Binding for OSGi Log Service

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SLF4J Binding for OSGi Log Service

This workspace repository contains the SLF4J Binding for OSGi Log Service 1.4 and later.

Contributing

Want to hack on slf4j-osgi? See CONTRIBUTING.md for information on building, testing and contributing changes.

They are probably not perfect, please let us know if anything feels wrong or incomplete.

Versions

1.7

slf4j-osgi versions 1.7.x are for use with slf4j-api versions 1.7.x. The slf4j-osgi bundle is a fragment which attaches to the slf4j-api bundle to provide the ILoggerFactory implementation.

2.0

slf4j-osgi versions 2.0.x are for use with slf4j-api versions 2.0.x. In slf4j 2.0, the mechanism by which slf4j-api locates the ILoggerFactory implementation was changed to use the ServiceLoader mechanism.

Both slf4j-api and slf4j-osgi now use the OSGi Service Loader Mediator specification to perform the mediation between the ServiceLoader consumer and provider. When using slf4j-osgi, you will also need to make sure an implementation of the OSGi Service Loader Mediator specification, such as Apache Aries SPI Fly, is installed. For slf4j-osgi, org.apache.aries.spifly.dynamic.framework.extension is recommended.

Building

We use Maven to build and the repo includes mvnw. You can use your system mvn but we require a recent version.

  • ./mvnw clean install - Assembles and tests the project

Build Status

Repository

Snapshot slf4j-osgi artifacts are available from the Sonatype OSS snapshot repository:

https://oss.sonatype.org/content/repositories/snapshots/

License

The contents of this repository are made available to the public under the terms of the Apache License, Version 2.0. Bundles may depend on non Apache Licensed code.

About

SLF4J Binding for OSGi Log Service

License:Apache License 2.0


Languages

Language:Java 100.0%