Class ConsoleLogger.LogEntryImpl

  • All Implemented Interfaces:
    org.osgi.service.log.LogEntry
    Enclosing class:
    ConsoleLogger

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

      Fields 
      Modifier and Type Field Description
      org.osgi.framework.Bundle bundle  
      java.lang.Throwable exception  
      int level  
      java.lang.String message  
      org.osgi.framework.ServiceReference<?> reference  
      long time  
    • Constructor Summary

      Constructors 
      Constructor Description
      LogEntryImpl​(org.osgi.framework.Bundle b, org.osgi.framework.ServiceReference<?> reference, java.lang.Throwable e, int level, java.lang.String message)  
    • Field Detail

      • bundle

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

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

        public final java.lang.Throwable exception
      • message

        public final java.lang.String message
      • level

        public final int level
      • time

        public final long time
    • Constructor Detail

      • LogEntryImpl

        public LogEntryImpl​(org.osgi.framework.Bundle b,
                            org.osgi.framework.ServiceReference<?> reference,
                            java.lang.Throwable e,
                            int level,
                            java.lang.String message)
    • 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 java.lang.String getMessage()
        Specified by:
        getMessage in interface org.osgi.service.log.LogEntry
      • getException

        public java.lang.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 java.lang.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 java.lang.String getThreadInfo()
        Specified by:
        getThreadInfo in interface org.osgi.service.log.LogEntry
      • getLocation

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