trait SerdeLogging extends Logging
"Serde" (technically "SerDe") is a portmanteau of "Serialization and Deserialization"
Mix this trait into a case class to get helpful logging methods.
This trait adds a @JsonIgnoreProperties
for fields which are
defined in the com.twitter.util.logging.Logging trait so that
they are not included in JSON serde operations.
- Annotations
- @JsonIgnoreProperties()
- Alphabetic
- By Inheritance
- SerdeLogging
- Logging
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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]) @native()
- def debug(marker: Marker, message: => Any, cause: Throwable): Unit
Logs the given message at the named log level with the underlying logger taking into consideration the given
org.slf4j.Marker
data.Logs the given message at the named log level with the underlying logger taking into consideration the given
org.slf4j.Marker
data.- Attributes
- protected[this]
- Definition Classes
- Logging
- def debug(message: => Any, cause: Throwable): Unit
Logs the given message at the named log level using call-by-name for the message parameter with the underlying logger.
Logs the given message at the named log level using call-by-name for the message parameter with the underlying logger.
- Attributes
- protected[this]
- Definition Classes
- Logging
- def debug(marker: Marker, message: => Any): Unit
Logs the given message at the named log level with the underlying logger taking into consideration the given
org.slf4j.Marker
data.Logs the given message at the named log level with the underlying logger taking into consideration the given
org.slf4j.Marker
data.- Attributes
- protected[this]
- Definition Classes
- Logging
- def debug(message: => Any): Unit
Logs the given message at the named log level using call-by-name for the message parameter with the underlying logger.
Logs the given message at the named log level using call-by-name for the message parameter with the underlying logger.
- Attributes
- protected[this]
- Definition Classes
- Logging
- def debugResult[T](message: => String)(fn: => T): T
Log the given message at the named log level formatted with the result of the passed in function using the underlying logger.
Log the given message at the named log level formatted with the result of the passed in function using the underlying logger. The incoming string message should contain a single
%s
which will be replaced with the result[T] of the given function.Example:
infoResult("The answer is: %s") {"42"}
- Attributes
- protected[this]
- Definition Classes
- Logging
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def error(marker: Marker, message: => Any, cause: Throwable): Unit
Logs the given message at the named log level with the underlying logger taking into consideration the given
org.slf4j.Marker
data.Logs the given message at the named log level with the underlying logger taking into consideration the given
org.slf4j.Marker
data.- Attributes
- protected[this]
- Definition Classes
- Logging
- def error(message: => Any, cause: Throwable): Unit
Logs the given message at the named log level using call-by-name for the message parameter with the underlying logger.
Logs the given message at the named log level using call-by-name for the message parameter with the underlying logger.
- Attributes
- protected[this]
- Definition Classes
- Logging
- def error(marker: Marker, message: => Any): Unit
Logs the given message at the named log level with the underlying logger taking into consideration the given
org.slf4j.Marker
data.Logs the given message at the named log level with the underlying logger taking into consideration the given
org.slf4j.Marker
data.- Attributes
- protected[this]
- Definition Classes
- Logging
- def error(message: => Any): Unit
Logs the given message at the named log level using call-by-name for the message parameter with the underlying logger.
Logs the given message at the named log level using call-by-name for the message parameter with the underlying logger.
- Attributes
- protected[this]
- Definition Classes
- Logging
- def errorResult[T](message: => String)(fn: => T): T
Log the given message at the named log level formatted with the result of the passed in function using the underlying logger.
Log the given message at the named log level formatted with the result of the passed in function using the underlying logger. The incoming string message should contain a single
%s
which will be replaced with the result[T] of the given function.Example:
infoResult("The answer is: %s") {"42"}
- Attributes
- protected[this]
- Definition Classes
- Logging
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def info(marker: Marker, message: => Any, cause: Throwable): Unit
Logs the given message at the named log level with the underlying logger taking into consideration the given
org.slf4j.Marker
data.Logs the given message at the named log level with the underlying logger taking into consideration the given
org.slf4j.Marker
data.- Attributes
- protected[this]
- Definition Classes
- Logging
- def info(message: => Any, cause: Throwable): Unit
Logs the given message at the named log level using call-by-name for the message parameter with the underlying logger.
Logs the given message at the named log level using call-by-name for the message parameter with the underlying logger.
- Attributes
- protected[this]
- Definition Classes
- Logging
- def info(marker: Marker, message: => Any): Unit
Logs the given message at the named log level with the underlying logger taking into consideration the given
org.slf4j.Marker
data.Logs the given message at the named log level with the underlying logger taking into consideration the given
org.slf4j.Marker
data.- Attributes
- protected[this]
- Definition Classes
- Logging
- def info(message: => Any): Unit
Logs the given message at the named log level using call-by-name for the message parameter with the underlying logger.
Logs the given message at the named log level using call-by-name for the message parameter with the underlying logger.
- Attributes
- protected[this]
- Definition Classes
- Logging
- def infoResult[T](message: => String)(fn: => T): T
Log the given message at the named log level formatted with the result of the passed in function using the underlying logger.
Log the given message at the named log level formatted with the result of the passed in function using the underlying logger. The incoming string message should contain a single
%s
which will be replaced with the result[T] of the given function.Example:
infoResult("The answer is: %s") {"42"}
- Attributes
- protected[this]
- Definition Classes
- Logging
- def isDebugEnabled(marker: Marker): Boolean
Determines if the named log level is enabled on the underlying logger taking into consideration the given
org.slf4j.Marker
data.Determines if the named log level is enabled on the underlying logger taking into consideration the given
org.slf4j.Marker
data. Returnstrue
if enabled,false
otherwise.- Attributes
- protected[this]
- Definition Classes
- Logging
- def isDebugEnabled: Boolean
Determines if the named log level is enabled on the underlying logger.
Determines if the named log level is enabled on the underlying logger. Returns
true
if enabled,false
otherwise.- Attributes
- protected[this]
- Definition Classes
- Logging
- def isErrorEnabled(marker: Marker): Boolean
Determines if the named log level is enabled on the underlying logger taking into consideration the given
org.slf4j.Marker
data.Determines if the named log level is enabled on the underlying logger taking into consideration the given
org.slf4j.Marker
data. Returnstrue
if enabled,false
otherwise.- Attributes
- protected[this]
- Definition Classes
- Logging
- def isErrorEnabled: Boolean
Determines if the named log level is enabled on the underlying logger.
Determines if the named log level is enabled on the underlying logger. Returns
true
if enabled,false
otherwise.- Attributes
- protected[this]
- Definition Classes
- Logging
- def isInfoEnabled(marker: Marker): Boolean
Determines if the named log level is enabled on the underlying logger taking into consideration the given
org.slf4j.Marker
data.Determines if the named log level is enabled on the underlying logger taking into consideration the given
org.slf4j.Marker
data. Returnstrue
if enabled,false
otherwise.- Attributes
- protected[this]
- Definition Classes
- Logging
- def isInfoEnabled: Boolean
Determines if the named log level is enabled on the underlying logger.
Determines if the named log level is enabled on the underlying logger. Returns
true
if enabled,false
otherwise.- Attributes
- protected[this]
- Definition Classes
- Logging
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isTraceEnabled(marker: Marker): Boolean
Determines if the named log level is enabled on the underlying logger taking into consideration the given
org.slf4j.Marker
data.Determines if the named log level is enabled on the underlying logger taking into consideration the given
org.slf4j.Marker
data. Returnstrue
if enabled,false
otherwise.- Attributes
- protected[this]
- Definition Classes
- Logging
- def isTraceEnabled: Boolean
Determines if the named log level is enabled on the underlying logger.
Determines if the named log level is enabled on the underlying logger. Returns
true
if enabled,false
otherwise.- Attributes
- protected[this]
- Definition Classes
- Logging
- def isWarnEnabled(marker: Marker): Boolean
Determines if the named log level is enabled on the underlying logger taking into consideration the given
org.slf4j.Marker
data.Determines if the named log level is enabled on the underlying logger taking into consideration the given
org.slf4j.Marker
data. Returnstrue
if enabled,false
otherwise.- Attributes
- protected[this]
- Definition Classes
- Logging
- def isWarnEnabled: Boolean
Determines if the named log level is enabled on the underlying logger.
Determines if the named log level is enabled on the underlying logger. Returns
true
if enabled,false
otherwise.- Attributes
- protected[this]
- Definition Classes
- Logging
- final def logger: Logger
Return the underlying com.twitter.util.logging.Logger
Return the underlying com.twitter.util.logging.Logger
- returns
- Attributes
- protected[this]
- Definition Classes
- Logging
- final def loggerName: String
Return the name of the underlying com.twitter.util.logging.Logger
Return the name of the underlying com.twitter.util.logging.Logger
- returns
a String name
- Attributes
- protected[this]
- Definition Classes
- Logging
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def trace(marker: Marker, message: => Any, cause: Throwable): Unit
Logs the given message at the named log level with the underlying logger taking into consideration the given
org.slf4j.Marker
data.Logs the given message at the named log level with the underlying logger taking into consideration the given
org.slf4j.Marker
data.- Attributes
- protected[this]
- Definition Classes
- Logging
- def trace(message: => Any, cause: Throwable): Unit
Logs the given message at the named log level using call-by-name for the message parameter with the underlying logger.
Logs the given message at the named log level using call-by-name for the message parameter with the underlying logger.
- Attributes
- protected[this]
- Definition Classes
- Logging
- def trace(marker: Marker, message: => Any): Unit
Logs the given message at the named log level with the underlying logger taking into consideration the given
org.slf4j.Marker
data.Logs the given message at the named log level with the underlying logger taking into consideration the given
org.slf4j.Marker
data.- Attributes
- protected[this]
- Definition Classes
- Logging
- def trace(message: => Any): Unit
Logs the given message at the named log level using call-by-name for the message parameter with the underlying logger.
Logs the given message at the named log level using call-by-name for the message parameter with the underlying logger.
- Attributes
- protected[this]
- Definition Classes
- Logging
- def traceResult[T](message: => String)(fn: => T): T
Log the given message at the named log level formatted with the result of the passed in function using the underlying logger.
Log the given message at the named log level formatted with the result of the passed in function using the underlying logger. The incoming string message should contain a single
%s
which will be replaced with the result[T] of the given function.Example:
infoResult("The answer is: %s") {"42"}
- Attributes
- protected[this]
- Definition Classes
- Logging
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- 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]) @native()
- def warn(marker: Marker, message: => Any, cause: Throwable): Unit
Logs the given message at the named log level with the underlying logger taking into consideration the given
org.slf4j.Marker
data.Logs the given message at the named log level with the underlying logger taking into consideration the given
org.slf4j.Marker
data.- Attributes
- protected[this]
- Definition Classes
- Logging
- def warn(message: => Any, cause: Throwable): Unit
Logs the given message at the named log level using call-by-name for the message parameter with the underlying logger.
Logs the given message at the named log level using call-by-name for the message parameter with the underlying logger.
- Attributes
- protected[this]
- Definition Classes
- Logging
- def warn(marker: Marker, message: => Any): Unit
Logs the given message at the named log level with the underlying logger taking into consideration the given
org.slf4j.Marker
data.Logs the given message at the named log level with the underlying logger taking into consideration the given
org.slf4j.Marker
data.- Attributes
- protected[this]
- Definition Classes
- Logging
- def warn(message: => Any): Unit
Logs the given message at the named log level using call-by-name for the message parameter with the underlying logger.
Logs the given message at the named log level using call-by-name for the message parameter with the underlying logger.
- Attributes
- protected[this]
- Definition Classes
- Logging
- def warnResult[T](message: => String)(fn: => T): T
Log the given message at the named log level formatted with the result of the passed in function using the underlying logger.
Log the given message at the named log level formatted with the result of the passed in function using the underlying logger. The incoming string message should contain a single
%s
which will be replaced with the result[T] of the given function.Example:
infoResult("The answer is: %s") {"42"}
- Attributes
- protected[this]
- Definition Classes
- Logging