|
OSGi™ Service Platform Release 2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Provides methods to access the information contained in an individual Log Service log entry.
A LogEntry object may be acquired from the LogReaderService.getLog method or by registering a LogListener object.
LogReaderService.getLog()
,
LogListener
Method Summary | |
Bundle |
getBundle()
Returns the bundle that created this LogEntry object. |
java.lang.Throwable |
getException()
Returns the exception object associated with this LogEntry object. |
int |
getLevel()
Returns the severity level of this LogEntry object. |
java.lang.String |
getMessage()
Returns the human readable message associated with this LogEntry object. |
ServiceReference |
getServiceReference()
Returns the ServiceReference object for the service associated with this LogEntry object. |
long |
getTime()
Returns the value of currentTimeMillis() at the time this LogEntry object was created. |
Method Detail |
public Bundle getBundle()
public ServiceReference getServiceReference()
public int getLevel()
This is one of the severity levels defined by the LogService interface.
LogService.LOG_ERROR
,
LogService.LOG_WARNING
,
LogService.LOG_INFO
,
LogService.LOG_DEBUG
public java.lang.String getMessage()
public java.lang.Throwable getException()
public long getTime()
|
OSGi™ Service Platform Release 2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |