net.liftweb.common

Logger

trait Logger extends AnyRef

Logger is a thin wrapper on top of an SLF4J Logger

The main purpose is to utilize Scala features for logging

Note that the dynamic type of "this" is used when this trait is mixed in.

This may not always be what you want. If you need the static type, you have to declare your own Logger:

class MyClass { val logger = Logger(classOf[MyClass]) }

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

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. def _logger: org.slf4j.Logger

    Attributes
    protected
  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def assertLog(assertion: Boolean, msg: ⇒ String): Unit

  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def debug(msg: ⇒ AnyRef, t: Throwable, marker: Marker): Unit

  11. def debug(msg: ⇒ AnyRef, marker: Marker): Unit

  12. def debug(msg: ⇒ AnyRef, t: Throwable): Unit

  13. def debug(msg: ⇒ AnyRef): Unit

  14. def debug(msg: ⇒ AnyRef, box: Box[_]): Unit

    Debug a Failure.

    Debug a Failure. If the log level is debug and the Box is a Failure, debug the message concatenated with the Failure's message. If the Failure contains an Exception, debug that as well.

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

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

    Definition Classes
    AnyRef → Any
  17. def error(msg: ⇒ AnyRef, t: Throwable, marker: Marker): Unit

  18. def error(msg: ⇒ AnyRef, marker: Marker): Unit

  19. def error(msg: ⇒ AnyRef, t: Throwable): Unit

  20. def error(msg: ⇒ AnyRef): Unit

  21. def error(msg: ⇒ AnyRef, box: Box[_]): Unit

    Error a Failure.

    Error a Failure. If the log level is error and the Box is a Failure, error the message concatenated with the Failure's message. If the Failure contains an Exception, error that as well.

  22. def finalize(): Unit

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

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

    Definition Classes
    AnyRef → Any
  25. def info(msg: ⇒ AnyRef, t: Throwable, marker: Marker): Unit

  26. def info(msg: ⇒ AnyRef, marker: Marker): Unit

  27. def info(msg: ⇒ AnyRef, t: ⇒ Throwable): Unit

  28. def info(msg: ⇒ AnyRef): Unit

  29. def info(msg: ⇒ AnyRef, box: Box[_]): Unit

    Info a Failure.

    Info a Failure. If the log level is info and the Box is a Failure, info the message concatenated with the Failure's message. If the Failure contains an Exception, info that as well.

  30. def isDebugEnabled: Boolean

  31. def isErrorEnabled: Boolean

  32. def isInfoEnabled: Boolean

  33. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  34. def isTraceEnabled: Boolean

  35. def isWarnEnabled: Boolean

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

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

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

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

    Definition Classes
    AnyRef
  40. def toString(): String

    Definition Classes
    AnyRef → Any
  41. def trace(msg: ⇒ AnyRef, t: Throwable, marker: ⇒ Marker): Unit

  42. def trace(msg: ⇒ AnyRef, marker: Marker): Unit

  43. def trace(msg: ⇒ AnyRef, t: Throwable): Unit

  44. def trace(msg: ⇒ AnyRef): Unit

  45. def trace(msg: ⇒ AnyRef, box: Box[_]): Unit

    Trace a Failure.

    Trace a Failure. If the log level is trace and the Box is a Failure, trace the message concatenated with the Failure's message. If the Failure contains an Exception, trace that as well.

  46. def trace[T](msg: String, v: T): T

    Log the value of v with trace and return v.

    Log the value of v with trace and return v. Useful for tracing values in expressions

  47. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  50. def warn(msg: ⇒ AnyRef, t: Throwable, marker: Marker): Unit

  51. def warn(msg: ⇒ AnyRef, marker: Marker): Unit

  52. def warn(msg: ⇒ AnyRef, t: Throwable): Unit

  53. def warn(msg: ⇒ AnyRef): Unit

  54. def warn(msg: ⇒ AnyRef, box: Box[_]): Unit

    Warn a Failure.

    Warn a Failure. If the log level is warn and the Box is a Failure, warn the message concatenated with the Failure's message. If the Failure contains an Exception, warn that as well.

Inherited from AnyRef

Inherited from Any

Ungrouped