Class

com.persist.logging

Logger

Related Doc: package logging

Permalink

class Logger extends AnyRef

This class provides the methods needed for logging. It is accessed by including one of the traits ClassSupport or ActorSupport.

Linear Supertypes
AnyRef, Any
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 alternative(category: String, m: Map[String, RichMsg], ex: Throwable = noException, id: AnyId = noId, time: Long = System.currentTimeMillis()): Unit

    Permalink

    Write a log message to an alternative log.

    Write a log message to an alternative log.

    category

    the category for the message. For log files, this will be part of the file name. The following categories are often used: server, client, gc, and time.

    m

    fields to be included in the log message.

    ex

    an optional exception to be logged together with its stack trace.

    id

    optional id of a request

    time

    the time to be written in the log. If not specified the default is the time this method is called.

  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def debug(msg: ⇒ RichMsg, ex: Throwable = noException, id: AnyId = noId)(implicit sourceLocation: () ⇒ SourceLocation): Unit

    Permalink

    Writes a debug level log message.

    Writes a debug level log message.

    msg

    the message to be logged.

    ex

    an optional exception to be logged together with its stack trace.

    id

    optional id of a request

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  10. def error(msg: ⇒ RichMsg, ex: Throwable = noException, id: AnyId = noId)(implicit sourceLocation: () ⇒ SourceLocation): Unit

    Permalink

    Writes an error level log message.

    Writes an error level log message.

    msg

    the message to be logged.

    ex

    an optional exception to be logged together with its stack trace.

    id

    optional id of a request

  11. def fatal(msg: ⇒ RichMsg, ex: Throwable = noException, id: AnyId = noId)(implicit sourceLocation: () ⇒ SourceLocation): Unit

    Permalink

    Writes a fatal level log message.

    Writes a fatal level log message.

    msg

    the message to be logged.

    ex

    an optional exception to be logged together with its stack trace.

    id

    optional id of a request

  12. def finalize(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  15. def info(msg: ⇒ RichMsg, ex: Throwable = noException, id: AnyId = noId)(implicit sourceLocation: () ⇒ SourceLocation): Unit

    Permalink

    Writes an info level log message.

    Writes an info level log message.

    msg

    the message to be logged.

    ex

    an optional exception to be logged together with its stack trace.

    id

    optional id of a request

  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  22. def trace(msg: ⇒ RichMsg, ex: Throwable = noException, id: AnyId = noId)(implicit sourceLocation: () ⇒ SourceLocation): Unit

    Permalink

    Writes a trace level log message.

    Writes a trace level log message.

    msg

    the message to be logged.

    ex

    an optional exception to be logged together with its stack trace.

    id

    optional id of a request

  23. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. def warn(msg: ⇒ RichMsg, ex: Throwable = noException, id: AnyId = noId)(implicit sourceLocation: () ⇒ SourceLocation): Unit

    Permalink

    Writes a warn level log message.

    Writes a warn level log message.

    msg

    the message to be logged.

    ex

    an optional exception to be logged together with its stack trace.

    id

    optional id of a request

Inherited from AnyRef

Inherited from Any

Ungrouped