com.metamx.common.scala

Logger

abstract class Logger extends AnyRef

Main Logger API. Base class for loggers

Note: Don't use this class directly, use the com.metamx.common.scala.Logging trait instead.

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Logger
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Logger()

Type Members

  1. type LogFunc = (String, Throwable) ⇒ Unit

    A function that logs a message with an exception

    A function that logs a message with an exception

    Attributes
    protected

Abstract Value Members

  1. abstract val logDebug: (String, Throwable) ⇒ Unit

    Attributes
    protected
  2. abstract val logError: (String, Throwable) ⇒ Unit

    Attributes
    protected
  3. abstract val logInfo: (String, Throwable) ⇒ Unit

    Attributes
    protected
  4. abstract val logTrace: (String, Throwable) ⇒ Unit

    Attributes
    protected
  5. abstract val logWarn: (String, Throwable) ⇒ Unit

    Attributes
    protected
  6. abstract val logger: org.slf4j.Logger

    The underlying logger as provided by slf4j

    The underlying logger as provided by slf4j

    Attributes
    protected

Concrete Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def debug(thrown: Throwable, message: String, params: Any*): Unit

    Log debug message with an exception

  9. def debug(message: String, params: Any*): Unit

    Log debug message

  10. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  12. def error(thrown: Throwable, message: String, params: Any*): Unit

    Log error message with an exception

  13. def error(message: String, params: Any*): Unit

    Log error message

  14. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def format(fmt: String, params: Seq[Any]): String

    Format a string using params, if any, otherwise use the string as-is

    Format a string using params, if any, otherwise use the string as-is

    Attributes
    protected
    Annotations
    @inline()
  16. final def getClass(): Class[_]

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

    Definition Classes
    AnyRef → Any
  18. def info(thrown: Throwable, message: String, params: Any*): Unit

    Log info message with an exception

  19. def info(message: String, params: Any*): Unit

    Log info message

  20. def isDebugEnabled: Boolean

  21. def isErrorEnabled: Boolean

  22. def isInfoEnabled: Boolean

  23. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  24. def isTraceEnabled: Boolean

  25. def isWarnEnabled: Boolean

  26. lazy val name: String

    Name of the underlying logger

  27. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  28. final def notify(): Unit

    Definition Classes
    AnyRef
  29. final def notifyAll(): Unit

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

    Definition Classes
    AnyRef
  31. def toString(): String

    Definition Classes
    AnyRef → Any
  32. def trace(thrown: Throwable, message: String, params: Any*): Unit

    Log trace message with an exception

  33. def trace(message: String, params: Any*): Unit

    Log trace message

  34. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. def warn(thrown: Throwable, message: String, params: Any*): Unit

    Log warning message with an exception

  38. def warn(message: String, params: Any*): Unit

    Log warn message

Inherited from AnyRef

Inherited from Any

Ungrouped