Packages

  • package root
    Definition Classes
    root
  • package domino

    Contains Domino, a lightweight Scala library for writing elegant OSGi bundle activators.

    Contains Domino, a lightweight Scala library for writing elegant OSGi bundle activators.

    For getting started, please see DominoActivator, the main entry point to the Domino DSL. Each sub package contains functionality for a specific part of the DSL.

    Definition Classes
    root
  • package scala_logging

    Contains a simple Scala API for logging along with a Java Logging API implementation.

    Contains a simple Scala API for logging along with a Java Logging API implementation.

    The generic logging interface is provided by the Logger trait. Implementations for various logging frameworks such as SLF4J or OSGi LogService are provided in separate modules.

    See JavaUtilLogging for a convenient way to use Java Logging API.

    Definition Classes
    domino
  • FallbackLogger
  • JavaUtilLogging
  • JavaUtilLoggingLogger
  • Logger
c

domino.scala_logging

FallbackLogger

class FallbackLogger extends Logger

Logger decorator which logs to a secondary logger if the primary logger is not available.

Linear Supertypes
Logger, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FallbackLogger
  2. Logger
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new FallbackLogger(primaryLogger: ⇒ Option[Logger], secondaryLogger: Logger)

    Creates the fallback logger.

    Creates the fallback logger.

    primaryLogger

    Call-by-Name parameter which returns the primary logger if available and is evaluated at every call to log. If it returns None, the secondary logger is used.

    secondaryLogger

    The logger which is used if the primary logger is not available

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  6. def debug(message: ⇒ AnyRef, exception: ⇒ Throwable): Unit

    Logs the given message and exception on debug level.

    Logs the given message and exception on debug level.

    Definition Classes
    FallbackLoggerLogger
  7. def debug(message: ⇒ AnyRef): Unit

    Logs the given message on debug level.

    Logs the given message on debug level.

    Definition Classes
    FallbackLoggerLogger
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. def error(message: ⇒ AnyRef, exception: ⇒ Throwable): Unit

    Logs the given message and exception on error level.

    Logs the given message and exception on error level.

    Definition Classes
    FallbackLoggerLogger
  11. def error(message: ⇒ AnyRef): Unit

    Logs the given message on error level.

    Logs the given message on error level.

    Definition Classes
    FallbackLoggerLogger
  12. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. def info(message: ⇒ AnyRef, exception: ⇒ Throwable): Unit

    Logs the given message and exception on info level.

    Logs the given message and exception on info level.

    Definition Classes
    FallbackLoggerLogger
  16. def info(message: ⇒ AnyRef): Unit

    Logs the given message on info level.

    Logs the given message on info level.

    Definition Classes
    FallbackLoggerLogger
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  22. def toString(): String
    Definition Classes
    AnyRef → Any
  23. def trace(message: ⇒ AnyRef, exception: ⇒ Throwable): Unit

    Logs the given message and exception on trace level.

    Logs the given message and exception on trace level.

    Definition Classes
    FallbackLoggerLogger
  24. def trace(message: ⇒ AnyRef): Unit

    Logs the given message on trace level.

    Logs the given message on trace level.

    Definition Classes
    FallbackLoggerLogger
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  28. def warn(message: ⇒ AnyRef, exception: ⇒ Throwable): Unit

    Logs the given message and exception on warn level.

    Logs the given message and exception on warn level.

    Definition Classes
    FallbackLoggerLogger
  29. def warn(message: ⇒ AnyRef): Unit

    Logs the given message on warn level.

    Logs the given message on warn level.

    Definition Classes
    FallbackLoggerLogger

Inherited from Logger

Inherited from AnyRef

Inherited from Any

Ungrouped