public static class ConsoleLogger.LogEntryImpl
extends java.lang.Object
implements org.osgi.service.log.LogEntry
Modifier and Type | Field and Description |
---|---|
org.osgi.framework.Bundle |
bundle |
java.lang.Throwable |
exception |
int |
level |
java.lang.String |
message |
org.osgi.framework.ServiceReference<?> |
reference |
long |
time |
Constructor and Description |
---|
LogEntryImpl(org.osgi.framework.Bundle b,
org.osgi.framework.ServiceReference<?> reference,
java.lang.Throwable e,
int level,
java.lang.String message) |
Modifier and Type | Method and Description |
---|---|
org.osgi.framework.Bundle |
getBundle() |
java.lang.Throwable |
getException() |
int |
getLevel() |
java.lang.StackTraceElement |
getLocation() |
java.lang.String |
getLoggerName() |
org.osgi.service.log.LogLevel |
getLogLevel() |
java.lang.String |
getMessage() |
long |
getSequence() |
org.osgi.framework.ServiceReference |
getServiceReference() |
java.lang.String |
getThreadInfo() |
long |
getTime() |
public final org.osgi.framework.Bundle bundle
public final org.osgi.framework.ServiceReference<?> reference
public final java.lang.Throwable exception
public final java.lang.String message
public final int level
public final long time
public LogEntryImpl(org.osgi.framework.Bundle b, org.osgi.framework.ServiceReference<?> reference, java.lang.Throwable e, int level, java.lang.String message)
public org.osgi.framework.Bundle getBundle()
getBundle
in interface org.osgi.service.log.LogEntry
public org.osgi.framework.ServiceReference getServiceReference()
getServiceReference
in interface org.osgi.service.log.LogEntry
public int getLevel()
getLevel
in interface org.osgi.service.log.LogEntry
public java.lang.String getMessage()
getMessage
in interface org.osgi.service.log.LogEntry
public java.lang.Throwable getException()
getException
in interface org.osgi.service.log.LogEntry
public long getTime()
getTime
in interface org.osgi.service.log.LogEntry
public org.osgi.service.log.LogLevel getLogLevel()
getLogLevel
in interface org.osgi.service.log.LogEntry
public java.lang.String getLoggerName()
getLoggerName
in interface org.osgi.service.log.LogEntry
public long getSequence()
getSequence
in interface org.osgi.service.log.LogEntry
public java.lang.String getThreadInfo()
getThreadInfo
in interface org.osgi.service.log.LogEntry
public java.lang.StackTraceElement getLocation()
getLocation
in interface org.osgi.service.log.LogEntry