public interface ExtendedLogEntry extends LogEntry
LogEntry
object to provide additional context information.
Otherwise similarly accessible by registering a LogListener
object.LogListener
Modifier and Type | Method and Description |
---|---|
Object |
getContext()
Returns the context associated with this
LogEntry
object. |
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. |
String |
getThreadName()
Returns the thread name of the logging thread associated with this
LogEntry
object. |
getBundle, getException, getLevel, getMessage, getServiceReference, getTime
String getLoggerName()
LogEntry
object.String
containing the logger name associated with this
LogEntry
object;null
if no logger name is
associated with this LogEntry
object.Object getContext()
LogEntry
object.Object
containing the context associated with this
LogEntry
object;null
if no context is
associated with this LogEntry
object.long getThreadId()
LogEntry
object.long
containing the thread id associated with this
LogEntry
object.String getThreadName()
LogEntry
object.String
containing the message associated with this
LogEntry
object.long getSequenceNumber()
LogEntry
object.long
containing the sequence number associated with this
LogEntry
object.Copyright © 2007–2018 The Apache Software Foundation. All rights reserved.