trait Logger extends AnyRef
- Alphabetic
- By Inheritance
- Logger
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def isDebugEnabled(): Boolean
true
if the logger instance is enabled for theDEBUG
level.true
if the logger instance is enabled for theDEBUG
level.- returns
whether DEBUG level is enabled
- abstract def isErrorEnabled(): Boolean
true
if the logger instance is enabled for theERROR
level.true
if the logger instance is enabled for theERROR
level.- returns
whether ERROR level is enabled
- abstract def isInfoEnabled(): Boolean
true
if the logger instance is enabled for theINFO
level.true
if the logger instance is enabled for theINFO
level.- returns
whether INFO level is enabled
- abstract def isTraceEnabled(): Boolean
true
if the logger instance is enabled for theTRACE
level.true
if the logger instance is enabled for theTRACE
level.- returns
whether TRACE level is enabled
- abstract def isWarnEnabled(): Boolean
true
if the logger instance is enabled for theWARN
level.true
if the logger instance is enabled for theWARN
level.- returns
whether WARN level is enabled
- abstract def output(level: LogLevel, message: String, error: Throwable): Unit
Outputs a log message at the specified level
Outputs a log message at the specified level
- level
the level to log at
- message
the message to log
- error
the associated exception
- abstract def output(level: LogLevel, message: String): Unit
Outputs a log message at the specified level
Outputs a log message at the specified level
- level
the level to log at
- message
the message to log
Concrete 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[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- def debug(message: Supplier[String], error: Throwable): Unit
Logs a message with the
DEBUG
level.Logs a message with the
DEBUG
level.- message
the supplier of the message to log
- error
the associated exception
- def debug(message: String, error: Throwable): Unit
Logs a message with the
DEBUG
level.Logs a message with the
DEBUG
level.- message
the message to log
- error
the associated exception
- def debug(message: Supplier[String]): Unit
Logs a message with the
DEBUG
level.Logs a message with the
DEBUG
level.- message
the supplier of the message to log
- def debug(message: String): Unit
Logs a message with the
DEBUG
level.Logs a message with the
DEBUG
level.- message
the message to log
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def error(message: Supplier[String], error: Throwable): Unit
Logs a message with the
ERROR
level.Logs a message with the
ERROR
level.- message
the message to log
- error
the associated exception
- def error(message: String, error: Throwable): Unit
Logs a message with the
ERROR
level.Logs a message with the
ERROR
level.- message
the message to log
- error
the associated exception
- def error(message: Supplier[String]): Unit
Logs a message with the
ERROR
level.Logs a message with the
ERROR
level.- message
the supplier of the message to log
- def error(message: String): Unit
Logs a message with the
ERROR
level.Logs a message with the
ERROR
level.- message
the message to log
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def info(message: Supplier[String], error: Throwable): Unit
Logs a message with the
INFO
level.Logs a message with the
INFO
level.- message
the supplier of the message to log
- error
the associated exception
- def info(message: String, error: Throwable): Unit
Logs a message with the
INFO
level.Logs a message with the
INFO
level.- message
the message to log
- error
the associated exception
- def info(message: Supplier[String]): Unit
Logs a message with the
INFO
level.Logs a message with the
INFO
level.- message
the supplier of the message to log
- def info(message: String): Unit
Logs a message with the
INFO
level.Logs a message with the
INFO
level.- message
the message to log
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def trace(message: Supplier[String], error: Throwable): Unit
Logs a message with the
TRACE
level.Logs a message with the
TRACE
level.- message
the supplier of the message to log
- error
the associated exception
- def trace(message: String, error: Throwable): Unit
Logs a message with the
TRACE
level.Logs a message with the
TRACE
level.- message
the message to log
- error
the associated exception
- def trace(message: Supplier[String]): Unit
Logs a message with the
TRACE
level.Logs a message with the
TRACE
level.- message
the supplier of the message to log
- def trace(message: String): Unit
Logs a message with the
TRACE
level.Logs a message with the
TRACE
level.- message
the message to log
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def warn(message: Supplier[String], error: Throwable): Unit
Logs a message with the
WARN
level.Logs a message with the
WARN
level.- message
the supplier of the message to log
- error
the associated exception
- def warn(message: String, error: Throwable): Unit
Logs a message with the
WARN
level.Logs a message with the
WARN
level.- message
the message to log
- error
the associated exception
- def warn(message: Supplier[String]): Unit
Logs a message with the
WARN
level.Logs a message with the
WARN
level.- message
the supplier of the message to log
- def warn(message: String): Unit
Logs a message with the
WARN
level.Logs a message with the
WARN
level.- message
the message to log
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)
This is the public API for Cinnamon.
The com.lightbend.cinnamon package contains the public Cinnamon API.
See the complete list of Cinnamon packages on the right.
Cinnamon Events and Metrics
For the custom events API see
CinnamonEvents
.For the custom metrics API see
CinnamonMetrics
.Stopwatch
For the Stopwatch API see
Stopwatch
.Coda Hale Metrics
For creating custom Coda Hale Metrics reporters see the com.lightbend.cinnamon.chmetrics.reporter package.