Package org.slf4j.osgi.logservice.impl
Class LogServiceImpl
java.lang.Object
org.slf4j.osgi.logservice.impl.LogServiceImpl
- All Implemented Interfaces:
org.osgi.service.log.LogService
LogServiceImpl is a simple OSGi LogService implementation that delegates to a slf4j
Logger.- Author:
- John Conlon, Matt Bishop
-
Field Summary
Fields inherited from interface org.osgi.service.log.LogService
LOG_DEBUG, LOG_ERROR, LOG_INFO, LOG_WARNING -
Constructor Summary
ConstructorsConstructorDescriptionLogServiceImpl(org.osgi.framework.Bundle bundle) Creates a new instance of LogServiceImpl. -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoid
-
Constructor Details
-
LogServiceImpl
Creates a new instance of LogServiceImpl.- Parameters:
bundle- The bundle to create a new LogService for.
-
-
Method Details
-
log
- Specified by:
login interfaceorg.osgi.service.log.LogService
-
log
- Specified by:
login interfaceorg.osgi.service.log.LogService
-
log
- Specified by:
login interfaceorg.osgi.service.log.LogService
-
log
public void log(org.osgi.framework.ServiceReference sr, int level, String message, Throwable exception) - Specified by:
login interfaceorg.osgi.service.log.LogService
-