Packages

final class Logger extends Serializable

A scala wrapper over a org.slf4j.Logger.

The Logger extends java.io.Serializable to support it's usage through the com.twitter.util.logging.Logging trait when the trait is mixed into a java.io.Serializable class.

Note, logging methods have a call-by-name variation which are intended for use from Scala.

Annotations
@SerialVersionUID()
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Logger
  2. Serializable
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

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[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. def debug(marker: Marker, message: => Any, cause: Throwable): Unit

    Logs the given message at the named log level taking into consideration the given org.slf4j.Marker data.

  7. def debug(marker: Marker, message: String, cause: Throwable): Unit

    Logs the given message at the named log level taking into consideration the given org.slf4j.Marker data.

  8. def debug(marker: Marker, message: => Any): Unit

    Logs the given message at the named log level taking into consideration the given org.slf4j.Marker data.

  9. def debug(marker: Marker, message: String): Unit

    Logs the given message at the named log level taking into consideration the given org.slf4j.Marker data.

  10. def debug(message: => Any, cause: Throwable): Unit

    Logs the given message at the named log level.

  11. def debug(message: String, cause: Throwable): Unit

    Logs the given message at the named log level.

  12. def debug(message: => Any): Unit

    Logs the given message at the named log level.

  13. def debug(message: String): Unit

    Logs the given message at the named log level.

  14. def debugResult[T](message: => String)(fn: => T): T

    Log the given message at the named log level formatted with the result of the passed in function using the underlying logger.

    Log the given message at the named log level formatted with the result of the passed in function using the underlying logger. The incoming string message should contain a single %s which will be replaced with the result[T] of the given function.

    Example:

    infoResult("The answer is: %s") {"42"}
  15. def debugWith(marker: Marker, message: => Any, args: AnyRef*): Unit

    Log the given parameterized message at the named log level using the given args taking into consideration the given org.slf4j.Marker data.

    Log the given parameterized message at the named log level using the given args taking into consideration the given org.slf4j.Marker data. See Parameterized Message Logging

  16. def debugWith(marker: Marker, message: String, args: AnyRef*): Unit

    Log the given parameterized message at the named log level using the given args taking into consideration the given org.slf4j.Marker data.

    Log the given parameterized message at the named log level using the given args taking into consideration the given org.slf4j.Marker data. See Parameterized Message Logging

  17. def debugWith(message: => Any, args: AnyRef*): Unit

    Log the given parameterized message at the named log level using the given args.

    Log the given parameterized message at the named log level using the given args. See Parameterized Message Logging

  18. def debugWith(message: String, args: AnyRef*): Unit

    Log the given parameterized message at the named log level using the given args.

    Log the given parameterized message at the named log level using the given args. See Parameterized Message Logging

  19. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  21. def error(marker: Marker, message: => Any, cause: Throwable): Unit

    Logs the given message at the named log level taking into consideration the given org.slf4j.Marker data.

  22. def error(marker: Marker, message: String, cause: Throwable): Unit

    Logs the given message at the named log level taking into consideration the given org.slf4j.Marker data.

  23. def error(marker: Marker, message: => Any): Unit

    Logs the given message at the named log level taking into consideration the given org.slf4j.Marker data.

  24. def error(marker: Marker, message: String): Unit

    Logs the given message at the named log level taking into consideration the given org.slf4j.Marker data.

  25. def error(message: => Any, cause: Throwable): Unit

    Logs the given message at the named log level.

  26. def error(message: String, cause: Throwable): Unit

    Logs the given message at the named log level.

  27. def error(message: => Any): Unit

    Logs the given message at the named log level.

  28. def error(message: String): Unit

    Logs the given message at the named log level.

  29. def errorResult[T](message: => String)(fn: => T): T

    Log the given message at the named log level formatted with the result of the passed in function using the underlying logger.

    Log the given message at the named log level formatted with the result of the passed in function using the underlying logger. The incoming string message should contain a single %s which will be replaced with the result[T] of the given function.

    Example:

    infoResult("The answer is: %s") {"42"}
  30. def errorWith(marker: Marker, message: => Any, args: AnyRef*): Unit

    Log the given parameterized message at the named log level using the given args taking into consideration the given org.slf4j.Marker data.

    Log the given parameterized message at the named log level using the given args taking into consideration the given org.slf4j.Marker data. See Parameterized Message Logging

  31. def errorWith(marker: Marker, message: String, args: AnyRef*): Unit

    Log the given parameterized message at the named log level using the given args taking into consideration the given org.slf4j.Marker data.

    Log the given parameterized message at the named log level using the given args taking into consideration the given org.slf4j.Marker data. See Parameterized Message Logging

  32. def errorWith(message: => Any, args: AnyRef*): Unit

    Log the given parameterized message at the named log level using the given args.

    Log the given parameterized message at the named log level using the given args. See Parameterized Message Logging

  33. def errorWith(message: String, args: AnyRef*): Unit

    Log the given parameterized message at the named log level using the given args.

    Log the given parameterized message at the named log level using the given args. See Parameterized Message Logging

  34. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  35. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  36. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  37. def info(marker: Marker, message: => Any, cause: Throwable): Unit

    Logs the given message at the named log level taking into consideration the given org.slf4j.Marker data.

  38. def info(marker: Marker, message: String, cause: Throwable): Unit

    Logs the given message at the named log level taking into consideration the given org.slf4j.Marker data.

  39. def info(marker: Marker, message: => Any): Unit

    Logs the given message at the named log level taking into consideration the given org.slf4j.Marker data.

  40. def info(marker: Marker, message: String): Unit

    Logs the given message at the named log level taking into consideration the given org.slf4j.Marker data.

  41. def info(message: => Any, cause: Throwable): Unit

    Logs the given message at the named log level.

  42. def info(message: String, cause: Throwable): Unit

    Logs the given message at the named log level.

  43. def info(message: => Any): Unit

    Logs the given message at the named log level.

  44. def info(message: String): Unit

    Logs the given message at the named log level.

  45. def infoResult[T](message: => String)(fn: => T): T

    Log the given message at the named log level formatted with the result of the passed in function using the underlying logger.

    Log the given message at the named log level formatted with the result of the passed in function using the underlying logger. The incoming string message should contain a single %s which will be replaced with the result[T] of the given function.

    Example:

    infoResult("The answer is: %s") {"42"}
  46. def infoWith(marker: Marker, message: => Any, args: AnyRef*): Unit

    Log the given parameterized message at the named log level using the given args taking into consideration the given org.slf4j.Marker data.

    Log the given parameterized message at the named log level using the given args taking into consideration the given org.slf4j.Marker data. See Parameterized Message Logging

  47. def infoWith(marker: Marker, message: String, args: AnyRef*): Unit

    Log the given parameterized message at the named log level using the given args taking into consideration the given org.slf4j.Marker data.

    Log the given parameterized message at the named log level using the given args taking into consideration the given org.slf4j.Marker data. See Parameterized Message Logging

  48. def infoWith(message: => Any, args: AnyRef*): Unit

    Log the given parameterized message at the named log level using the given args.

    Log the given parameterized message at the named log level using the given args. See Parameterized Message Logging

  49. def infoWith(message: String, args: AnyRef*): Unit

    Log the given parameterized message at the named log level using the given args.

    Log the given parameterized message at the named log level using the given args. See Parameterized Message Logging

  50. def isDebugEnabled(marker: Marker): Boolean

    Determines if the named log level is enabled taking into consideration the given org.slf4j.Marker data.

    Determines if the named log level is enabled taking into consideration the given org.slf4j.Marker data. Returns true if enabled, false otherwise.

  51. def isDebugEnabled: Boolean

    Determines if the named log level is enabled.

    Determines if the named log level is enabled. Returns true if enabled, false otherwise.

  52. def isErrorEnabled(marker: Marker): Boolean

    Determines if the named log level is enabled taking into consideration the given org.slf4j.Marker data.

    Determines if the named log level is enabled taking into consideration the given org.slf4j.Marker data. Returns true if enabled, false otherwise.

  53. def isErrorEnabled: Boolean

    Determines if the named log level is enabled.

    Determines if the named log level is enabled. Returns true if enabled, false otherwise.

  54. def isInfoEnabled(marker: Marker): Boolean

    Determines if the named log level is enabled taking into consideration the given org.slf4j.Marker data.

    Determines if the named log level is enabled taking into consideration the given org.slf4j.Marker data. Returns true if enabled, false otherwise.

  55. def isInfoEnabled: Boolean

    Determines if the named log level is enabled.

    Determines if the named log level is enabled. Returns true if enabled, false otherwise.

  56. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  57. def isTraceEnabled(marker: Marker): Boolean

    Determines if the named log level is enabled taking into consideration the given org.slf4j.Marker data.

    Determines if the named log level is enabled taking into consideration the given org.slf4j.Marker data. Returns true if enabled, false otherwise.

  58. def isTraceEnabled: Boolean

    Determines if the named log level is enabled.

    Determines if the named log level is enabled. Returns true if enabled, false otherwise.

  59. def isWarnEnabled(marker: Marker): Boolean

    Determines if the named log level is enabled taking into consideration the given org.slf4j.Marker data.

    Determines if the named log level is enabled taking into consideration the given org.slf4j.Marker data. Returns true if enabled, false otherwise.

  60. def isWarnEnabled: Boolean

    Determines if the named log level is enabled.

    Determines if the named log level is enabled. Returns true if enabled, false otherwise.

  61. def name: String
  62. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  63. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  64. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  65. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  66. def toString(): String
    Definition Classes
    AnyRef → Any
  67. def trace(marker: Marker, message: => Any, cause: Throwable): Unit

    Logs the given message at the named log level taking into consideration the given org.slf4j.Marker data.

  68. def trace(marker: Marker, message: String, cause: Throwable): Unit

    Logs the given message at the named log level taking into consideration the given org.slf4j.Marker data.

  69. def trace(marker: Marker, message: => Any): Unit

    Logs the given message at the named log level taking into consideration the given org.slf4j.Marker data.

  70. def trace(marker: Marker, message: String): Unit

    Logs the given message at the named log level taking into consideration the given org.slf4j.Marker data.

  71. def trace(message: => Any, cause: Throwable): Unit

    Logs the given message at the named log level.

  72. def trace(message: String, cause: Throwable): Unit

    Logs the given message at the named log level.

  73. def trace(message: => Any): Unit

    Logs the given message at the named log level.

  74. def trace(message: String): Unit

    Logs the given message at the named log level.

  75. def traceResult[T](message: => String)(fn: => T): T

    Log the given message at the named log level formatted with the result of the passed in function using the underlying logger.

    Log the given message at the named log level formatted with the result of the passed in function using the underlying logger. The incoming string message should contain a single %s which will be replaced with the result[T] of the given function.

    Example:

    infoResult("The answer is: %s") {"42"}
  76. def traceWith(marker: Marker, message: => Any, args: AnyRef*): Unit

    Log the given parameterized message at the named log level using the given args taking into consideration the given org.slf4j.Marker data.

    Log the given parameterized message at the named log level using the given args taking into consideration the given org.slf4j.Marker data. See Parameterized Message Logging

  77. def traceWith(marker: Marker, message: String, args: AnyRef*): Unit

    Log the given parameterized message at the named log level using the given args taking into consideration the given org.slf4j.Marker data.

    Log the given parameterized message at the named log level using the given args taking into consideration the given org.slf4j.Marker data. See Parameterized Message Logging

  78. def traceWith(message: => Any, args: AnyRef*): Unit

    Log the given parameterized message at the named log level using the given args.

    Log the given parameterized message at the named log level using the given args. See Parameterized Message Logging

  79. def traceWith(message: String, args: AnyRef*): Unit

    Log the given parameterized message at the named log level using the given args.

    Log the given parameterized message at the named log level using the given args. See Parameterized Message Logging

  80. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  81. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  82. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  83. def warn(marker: Marker, message: => Any, cause: Throwable): Unit

    Logs the given message at the named log level taking into consideration the given org.slf4j.Marker data.

  84. def warn(marker: Marker, message: String, cause: Throwable): Unit

    Logs the given message at the named log level taking into consideration the given org.slf4j.Marker data.

  85. def warn(marker: Marker, message: => Any): Unit

    Logs the given message at the named log level taking into consideration the given org.slf4j.Marker data.

  86. def warn(marker: Marker, message: String): Unit

    Logs the given message at the named log level taking into consideration the given org.slf4j.Marker data.

  87. def warn(message: => Any, cause: Throwable): Unit

    Logs the given message at the named log level.

  88. def warn(message: String, cause: Throwable): Unit

    Logs the given message at the named log level.

  89. def warn(message: => Any): Unit

    Logs the given message at the named log level.

  90. def warn(message: String): Unit

    Logs the given message at the named log level.

  91. def warnResult[T](message: => String)(fn: => T): T

    Log the given message at the named log level formatted with the result of the passed in function using the underlying logger.

    Log the given message at the named log level formatted with the result of the passed in function using the underlying logger. The incoming string message should contain a single %s which will be replaced with the result[T] of the given function.

    Example:

    infoResult("The answer is: %s") {"42"}
  92. def warnWith(marker: Marker, message: => Any, args: AnyRef*): Unit

    Log the given parameterized message at the named log level using the given args taking into consideration the given org.slf4j.Marker data.

    Log the given parameterized message at the named log level using the given args taking into consideration the given org.slf4j.Marker data. See Parameterized Message Logging

  93. def warnWith(marker: Marker, message: String, args: AnyRef*): Unit

    Log the given parameterized message at the named log level using the given args taking into consideration the given org.slf4j.Marker data.

    Log the given parameterized message at the named log level using the given args taking into consideration the given org.slf4j.Marker data. See Parameterized Message Logging

  94. def warnWith(message: => Any, args: AnyRef*): Unit

    Log the given parameterized message at the named log level using the given args.

    Log the given parameterized message at the named log level using the given args. See Parameterized Message Logging

  95. def warnWith(message: String, args: AnyRef*): Unit

    Log the given parameterized message at the named log level using the given args.

    Log the given parameterized message at the named log level using the given args. See Parameterized Message Logging

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped