https://github.com/eclipse-osgi-technology/slf4j-osgi
SLF4J Binding for OSGi Log Service
https://github.com/eclipse-osgi-technology/slf4j-osgi
osgi slf4j-binding slf4j-osgi
Last synced: 6 months ago
JSON representation
SLF4J Binding for OSGi Log Service
- Host: GitHub
- URL: https://github.com/eclipse-osgi-technology/slf4j-osgi
- Owner: eclipse-osgi-technology
- License: apache-2.0
- Created: 2016-03-04T21:29:44.000Z (over 9 years ago)
- Default Branch: main
- Last Pushed: 2024-12-19T02:39:17.000Z (10 months ago)
- Last Synced: 2025-01-08T06:39:26.040Z (9 months ago)
- Topics: osgi, slf4j-binding, slf4j-osgi
- Language: Java
- Size: 1.25 MB
- Stars: 12
- Watchers: 11
- Forks: 11
- Open Issues: 18
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
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](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](https://docs.osgi.org/specification/osgi.cmpn/8.0.0/service.loader.html) 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](https://aries.apache.org/documentation/modules/spi-fly.html), is installed.
For slf4j-osgi, [`org.apache.aries.spifly.dynamic.framework.extension`](https://aries.apache.org/documentation/modules/spi-fly.html#_dynamic_weaving_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
[](https://github.com/osgi/slf4j-osgi/actions?query=workflow%3A%22CI%20Build%22)
## Repository
Snapshot slf4j-osgi artifacts are available from the Sonatype OSS snapshot repository:
[https://oss.sonatype.org/content/repositories/snapshots/](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](https://www.apache.org/licenses/LICENSE-2.0).
Bundles may depend on non Apache Licensed code.