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

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

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

  7. def clone(): AnyRef

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

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

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

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

  12. 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.

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

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

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

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

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

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

  19. 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.

  20. def finalize(): Unit

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

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

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

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

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

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

  27. 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.

  28. def isDebugEnabled: Boolean

  29. def isErrorEnabled: Boolean

  30. def isInfoEnabled: Boolean

  31. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  32. def isTraceEnabled: Boolean

  33. def isWarnEnabled: Boolean

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

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

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

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

    Definition Classes
    AnyRef
  38. def toString(): String

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

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

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

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

  43. 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.

  44. 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

  45. final def wait(): Unit

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

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

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

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

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

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

  52. 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