trait Logging extends AnyRef
Mix the Logging
trait into a class to get:
- Logging methods
- A Logger
object, accessible via the log
property
Does not affect the public API of the class mixing it in.
- Alphabetic
- By Inheritance
- Logging
- 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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
debug(mkr: Marker, msg: ⇒ Any, t: ⇒ Throwable): Unit
Issue a debug logging message, with a marker and an exception.
Issue a debug logging message, with a marker and an exception.
- mkr
the slf4j marker object.
- msg
the message object.
toString()
is called to convert it to a loggable string.- t
the exception to include with the logged message.
- Attributes
- protected
-
def
debug(msg: ⇒ Any, t: ⇒ Throwable): Unit
Issue a debug logging message, with an exception.
Issue a debug logging message, with an exception.
- msg
the message object.
toString()
is called to convert it to a loggable string.- t
the exception to include with the logged message.
- Attributes
- protected
-
def
debug(msg: ⇒ Any): Unit
Issue a debug logging message.
Issue a debug logging message.
- msg
the message object.
toString()
is called to convert it to a loggable string.
- Attributes
- protected
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
error(mkr: Marker, msg: ⇒ Any, t: ⇒ Throwable): Unit
Issue a error logging message, with a marker and an exception.
Issue a error logging message, with a marker and an exception.
- mkr
the slf4j marker object.
- msg
the message object.
toString()
is called to convert it to a loggable string.- t
the exception to include with the logged message.
- Attributes
- protected
-
def
error(msg: ⇒ Any, t: ⇒ Throwable): Unit
Issue a trace logging message, with an exception.
Issue a trace logging message, with an exception.
- msg
the message object.
toString()
is called to convert it to a loggable string.- t
the exception to include with the logged message.
- Attributes
- protected
-
def
error(msg: ⇒ Any): Unit
Issue a trace logging message.
Issue a trace logging message.
- msg
the message object.
toString()
is called to convert it to a loggable string.
- Attributes
- protected
-
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(mkr: Marker, msg: ⇒ Any, t: ⇒ Throwable): Unit
Issue a info logging message, with a marker and an exception.
Issue a info logging message, with a marker and an exception.
- mkr
the slf4j marker object.
- msg
the message object.
toString()
is called to convert it to a loggable string.- t
the exception to include with the logged message.
- Attributes
- protected
-
def
info(msg: ⇒ Any, t: ⇒ Throwable): Unit
Issue a trace logging message, with an exception.
Issue a trace logging message, with an exception.
- msg
the message object.
toString()
is called to convert it to a loggable string.- t
the exception to include with the logged message.
- Attributes
- protected
-
def
info(msg: ⇒ Any): Unit
Issue a trace logging message.
Issue a trace logging message.
- msg
the message object.
toString()
is called to convert it to a loggable string.
- Attributes
- protected
-
def
isDebugEnabled: Boolean
Determine whether debug logging is enabled.
Determine whether debug logging is enabled.
- Attributes
- protected
-
def
isErrorEnabled: Boolean
Determine whether trace logging is enabled.
Determine whether trace logging is enabled.
- Attributes
- protected
-
def
isInfoEnabled: Boolean
Determine whether trace logging is enabled.
Determine whether trace logging is enabled.
- Attributes
- protected
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isTraceEnabled: Boolean
Determine whether trace logging is enabled.
Determine whether trace logging is enabled.
- Attributes
- protected
-
def
isWarnEnabled: Boolean
Determine whether trace logging is enabled.
Determine whether trace logging is enabled.
- Attributes
- protected
-
def
logger: Logger
Get the
Logger
for the class that mixes this trait in.Get the
Logger
for the class that mixes this trait in. TheLogger
is created the first time this method is call. The other methods (e.g.,error
,info
, etc.) call this method to get the logger.- returns
the
Logger
- Attributes
- protected
-
def
loggerName: String
Get the name associated with this logger.
Get the name associated with this logger.
- returns
the name.
- Attributes
- protected
-
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(mkr: Marker, msg: ⇒ Any, t: ⇒ Throwable): Unit
Issue a trace logging message, with a marker and an exception.
Issue a trace logging message, with a marker and an exception.
- mkr
the slf4j marker object.
- msg
the message object.
toString()
is called to convert it to a loggable string.- t
the exception to include with the logged message.
- Attributes
- protected
-
def
trace(msg: ⇒ Any, t: ⇒ Throwable): Unit
Issue a trace logging message, with an exception.
Issue a trace logging message, with an exception.
- msg
the message object.
toString()
is called to convert it to a loggable string.- t
the exception to include with the logged message.
- Attributes
- protected
-
def
trace(msg: ⇒ Any): Unit
Issue a trace logging message.
Issue a trace logging message.
- msg
the message object.
toString()
is called to convert it to a loggable string.
- Attributes
- protected
-
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(mkr: Marker, msg: ⇒ Any, t: ⇒ Throwable): Unit
Issue a warn logging message, with a marker and an exception.
Issue a warn logging message, with a marker and an exception.
- mkr
the slf4j marker object.
- msg
the message object.
toString()
is called to convert it to a loggable string.- t
the exception to include with the logged message.
- Attributes
- protected
-
def
warn(msg: ⇒ Any, t: ⇒ Throwable): Unit
Issue a trace logging message, with an exception.
Issue a trace logging message, with an exception.
- msg
the message object.
toString()
is called to convert it to a loggable string.- t
the exception to include with the logged message.
- Attributes
- protected
-
def
warn(msg: ⇒ Any): Unit
Issue a trace logging message.
Issue a trace logging message.
- msg
the message object.
toString()
is called to convert it to a loggable string.
- Attributes
- protected