Class LogEntryImpl

  • All Implemented Interfaces:
    org.osgi.service.log.LogEntry

    public class LogEntryImpl
    extends Object
    implements org.osgi.service.log.LogEntry
    • Constructor Detail

      • LogEntryImpl

        public LogEntryImpl​(String name,
                            org.osgi.framework.Bundle bundle,
                            org.osgi.framework.ServiceReference service,
                            org.osgi.service.log.LogLevel level,
                            String message,
                            Throwable exception)
    • Method Detail

      • 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