Package

domino

scala_logging

Permalink

package scala_logging

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.

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

Type Members

  1. class FallbackLogger extends Logger

    Permalink

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

  2. trait JavaUtilLogging extends AnyRef

    Permalink

    Convenience trait which you can mix into your class to have easy access to a logger based on Java Logging API.

    Convenience trait which you can mix into your class to have easy access to a logger based on Java Logging API.

    import domino.scala_logging.JavaUtilLogging
    
    class MyService extends JavaUtilLogging {
      log.debug("Hello World!")
    }
  3. class JavaUtilLoggingLogger extends Logger

    Permalink

    Logger Implementation using the logging facility integrated into the JDK.

  4. trait Logger extends AnyRef

    Permalink

    Provides a common interface for logging in Scala.

    Provides a common interface for logging in Scala.

    Makes use of Scala's Call-by-Name parameters so you don't have to check whether the desired log level is enabled or not.

    Implementations should make sure that the arguments are evaluated only if the corresponding log level is enabled. Additionatlly, they should handle the two-parameter methods like the single-parameter methods if null is passed as the exception parameter.

Inherited from AnyRef

Inherited from Any

Ungrouped