org.eclipse.equinox.log
Interface ExtendedLogEntry

All Superinterfaces:
LogEntry
All Known Implementing Classes:
ExtendedLogEntryImpl

public interface ExtendedLogEntry
extends LogEntry

Extends the OSGi Log Services LogEntry object to provide additional context information. Otherwise similarly accessible by registering a LogListener object.

Since:
3.7
See Also:
LogListener

Method Summary
 java.lang.Object getContext()
          Returns the context associated with this LogEntry object.
 java.lang.String getLoggerName()
          Returns the logger name associated with this LogEntry object.
 long getSequenceNumber()
          Returns the log sequence number associated with this LogEntry object.
 long getThreadId()
          Returns the thread id of the logging thread associated with this LogEntry object.
 java.lang.String getThreadName()
          Returns the thread name of the logging thread associated with this LogEntry object.
 
Methods inherited from interface org.osgi.service.log.LogEntry
getBundle, getException, getLevel, getMessage, getServiceReference, getTime
 

Method Detail

getLoggerName

java.lang.String getLoggerName()
Returns the logger name associated with this LogEntry object.

Returns:
String containing the logger name associated with this LogEntry object;null if no logger name is associated with this LogEntry object.

getContext

java.lang.Object getContext()
Returns the context associated with this LogEntry object.

Returns:
Object containing the context associated with this LogEntry object;null if no context is associated with this LogEntry object.

getThreadId

long getThreadId()
Returns the thread id of the logging thread associated with this LogEntry object.

Returns:
long containing the thread id associated with this LogEntry object.

getThreadName

java.lang.String getThreadName()
Returns the thread name of the logging thread associated with this LogEntry object.

Returns:
String containing the message associated with this LogEntry object.

getSequenceNumber

long getSequenceNumber()
Returns the log sequence number associated with this LogEntry object.

Returns:
long containing the sequence number associated with this LogEntry object.


Copyright © 2007-2012 FuseSource, Corp.. All Rights Reserved.