|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.buglabs.osgi.filesystem.util.LogServiceUtil
public class LogServiceUtil
Utility functions relating to OSGi log service.
| Constructor Summary | |
|---|---|
LogServiceUtil()
|
|
| Method Summary | |
|---|---|
static LogService |
getLogService(BundleContext context)
|
static void |
logBundleException(LogService logService,
java.lang.String message,
BundleException exception)
Log a bundle exception and print nested exception if it exists. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LogServiceUtil()
| Method Detail |
|---|
public static LogService getLogService(BundleContext context)
context - if context is null, it will return a log service that uses
stdout.
public static void logBundleException(LogService logService,
java.lang.String message,
BundleException exception)
logService - message - exception -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||