Trait/Object

net.liftweb.common

Logger

Related Docs: object Logger | package common

Permalink

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
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Logger
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. def _logger: org.slf4j.Logger

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

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

    Permalink
  7. def clone(): AnyRef

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

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

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

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

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

    Permalink

    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

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

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

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

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

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

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

    Permalink

    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

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

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

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

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

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

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

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

    Permalink

    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

    Permalink
  29. def isErrorEnabled: Boolean

    Permalink
  30. def isInfoEnabled: Boolean

    Permalink
  31. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  32. def isTraceEnabled: Boolean

    Permalink
  33. def isWarnEnabled: Boolean

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  38. def toString(): String

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

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

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

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

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

    Permalink

    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

    Permalink

    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

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

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

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

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

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

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

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

    Permalink

    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