Class ConsoleLogger.LogEntryImpl

java.lang.Object
aQute.bnd.junit.ConsoleLogger.LogEntryImpl
All Implemented Interfaces:
org.osgi.service.log.LogEntry
Enclosing class:
ConsoleLogger

public static class ConsoleLogger.LogEntryImpl extends Object implements org.osgi.service.log.LogEntry
  • Field Details

    • bundle

      public final org.osgi.framework.Bundle bundle
    • reference

      public final org.osgi.framework.ServiceReference<?> reference
    • exception

      public final Throwable exception
    • message

      public final String message
    • level

      public final int level
    • time

      public final long time
  • Constructor Details

    • LogEntryImpl

      public LogEntryImpl(org.osgi.framework.Bundle b, org.osgi.framework.ServiceReference<?> reference, Throwable e, int level, String message)
  • Method Details

    • getBundle

      public org.osgi.framework.Bundle getBundle()
      Specified by:
      getBundle in interface org.osgi.service.log.LogEntry
    • getServiceReference

      public org.osgi.framework.ServiceReference getServiceReference()
      Specified by:
      getServiceReference in interface org.osgi.service.log.LogEntry
    • getLevel

      public int getLevel()
      Specified by:
      getLevel in interface org.osgi.service.log.LogEntry
    • getMessage

      public String getMessage()
      Specified by:
      getMessage in interface org.osgi.service.log.LogEntry
    • getException

      public Throwable getException()
      Specified by:
      getException in interface org.osgi.service.log.LogEntry
    • getTime

      public long getTime()
      Specified by:
      getTime in interface org.osgi.service.log.LogEntry
    • getLogLevel

      public org.osgi.service.log.LogLevel getLogLevel()
      Specified by:
      getLogLevel in interface org.osgi.service.log.LogEntry
    • getLoggerName

      public String getLoggerName()
      Specified by:
      getLoggerName in interface org.osgi.service.log.LogEntry
    • getSequence

      public long getSequence()
      Specified by:
      getSequence in interface org.osgi.service.log.LogEntry
    • getThreadInfo

      public String getThreadInfo()
      Specified by:
      getThreadInfo in interface org.osgi.service.log.LogEntry
    • getLocation

      public StackTraceElement getLocation()
      Specified by:
      getLocation in interface org.osgi.service.log.LogEntry