Class

domino.scala_logging

FallbackLogger

Related Doc: package scala_logging

Permalink

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)

    Permalink

    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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def debug(message: ⇒ AnyRef, exception: ⇒ Throwable): Unit

    Permalink

    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

    Permalink

    Logs the given message on debug level.

    Logs the given message on debug level.

    Definition Classes
    FallbackLoggerLogger
  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  10. def error(message: ⇒ AnyRef, exception: ⇒ Throwable): Unit

    Permalink

    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

    Permalink

    Logs the given message on error level.

    Logs the given message on error level.

    Definition Classes
    FallbackLoggerLogger
  12. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  14. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  15. def info(message: ⇒ AnyRef, exception: ⇒ Throwable): Unit

    Permalink

    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

    Permalink

    Logs the given message on info level.

    Logs the given message on info level.

    Definition Classes
    FallbackLoggerLogger
  17. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  19. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  22. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  23. def trace(message: ⇒ AnyRef, exception: ⇒ Throwable): Unit

    Permalink

    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

    Permalink

    Logs the given message on trace level.

    Logs the given message on trace level.

    Definition Classes
    FallbackLoggerLogger
  25. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. def warn(message: ⇒ AnyRef, exception: ⇒ Throwable): Unit

    Permalink

    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

    Permalink

    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