com.mongodb.casbah.commons

Logger

class Logger extends AnyRef

Scala SLF4J wrapper

Example:

class Foo extends Logging {
  log.info("My foo is %s","alive")
  log.error(new Exception(),"My foo is %s","broken")
}

The logger uses String.format: http://download-llnw.oracle.com/javase/6/docs/api/java/lang/String.html#format(java.lang.String,%20java.lang.Object...)

Source
Logger.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. Logger
  2. AnyRef
  3. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Logger (logger: Logger)

Value Members

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

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

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

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

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

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

    Attributes
    final
    Definition Classes
    Any
  7. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  8. def debug (msg: ⇒ String): Unit

  9. def debug (fmt: ⇒ String, arg: Any, argN: Any*): Unit

  10. def debug (t: Throwable, msg: ⇒ String): Unit

  11. def debug (t: Throwable, fmt: ⇒ String, arg: Any, argN: Any*): Unit

  12. def debug_? : Boolean

  13. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  14. def equals (arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  15. def error (msg: ⇒ String): Unit

  16. def error (fmt: ⇒ String, arg: Any, argN: Any*): Unit

  17. def error (t: Throwable, msg: ⇒ String): Unit

  18. def error (t: Throwable, fmt: ⇒ String, arg: Any, argN: Any*): Unit

  19. def error_? : Boolean

  20. def finalize (): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  21. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef
  22. def hashCode (): Int

    Definition Classes
    AnyRef → Any
  23. def info (msg: ⇒ String): Unit

  24. def info (fmt: ⇒ String, arg: Any, argN: Any*): Unit

  25. def info (t: Throwable, msg: ⇒ String): Unit

  26. def info (t: Throwable, fmt: ⇒ String, arg: Any, argN: Any*): Unit

  27. def info_? : Boolean

  28. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  29. val logger : Logger

  30. def message (fmt: String, arg: Any, argN: Any*): String

    Attributes
    protected
  31. def name : String

  32. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  33. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  34. def notifyAll (): Unit

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

    Attributes
    final
    Definition Classes
    AnyRef
  36. def toString (): String

    Definition Classes
    AnyRef → Any
  37. def trace (msg: ⇒ String): Unit

  38. def trace (fmt: ⇒ String, arg: Any, argN: Any*): Unit

  39. def trace (t: Throwable, msg: ⇒ String): Unit

  40. def trace (t: Throwable, fmt: ⇒ String, arg: Any, argN: Any*): Unit

  41. def trace_? : Boolean

  42. def wait (): Unit

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  45. def warn (msg: ⇒ String): Unit

  46. def warn (fmt: ⇒ String, arg: Any, argN: Any*): Unit

  47. def warn (t: Throwable, msg: ⇒ String): Unit

  48. def warn (t: Throwable, fmt: ⇒ String, arg: Any, argN: Any*): Unit

  49. def warning (msg: ⇒ String): Unit

  50. def warning (fmt: ⇒ String, arg: Any, argN: Any*): Unit

  51. def warning (t: Throwable, msg: ⇒ String): Unit

  52. def warning (t: Throwable, fmt: ⇒ String, arg: Any, argN: Any*): Unit

  53. def warning_? : Boolean

Inherited from AnyRef

Inherited from Any