class Logger extends AnyRef
This class provides the methods needed for logging. It is accessed by including one of the traits ClassSupport or ActorSupport.
- Alphabetic
- By Inheritance
- Logger
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
alternative(category: String, m: Map[String, RichMsg], ex: Throwable = noException, id: AnyId = noId, time: Long = System.currentTimeMillis()): Unit
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.
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
debug(msg: ⇒ RichMsg, ex: Throwable = noException, id: AnyId = noId)(implicit sourceLocation: () ⇒ SourceLocation): Unit
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
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
error(msg: ⇒ RichMsg, ex: Throwable = noException, id: AnyId = noId)(implicit sourceLocation: () ⇒ SourceLocation): Unit
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
-
def
fatal(msg: ⇒ RichMsg, ex: Throwable = noException, id: AnyId = noId)(implicit sourceLocation: () ⇒ SourceLocation): Unit
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
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
def
info(msg: ⇒ RichMsg, ex: Throwable = noException, id: AnyId = noId)(implicit sourceLocation: () ⇒ SourceLocation): Unit
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
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
trace(msg: ⇒ RichMsg, ex: Throwable = noException, id: AnyId = noId)(implicit sourceLocation: () ⇒ SourceLocation): Unit
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
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
warn(msg: ⇒ RichMsg, ex: Throwable = noException, id: AnyId = noId)(implicit sourceLocation: () ⇒ SourceLocation): Unit
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