case class Entry(level: Option[Level] = None, message: Option[Message] = None, sourceLocation: Option[SourceLocation] = None, loggingClass: Option[String] = None, loggingMethod: Option[String] = None, tags: Set[Tag] = Set.empty, timestamp: Long = System.currentTimeMillis, threadName: String = Thread.currentThread.getName, loggerAttributes: Map[String, Any] = Map.empty, threadAttributes: Map[String, List[String]] = Map.empty) extends Product with Serializable
Represents a log-worthy event in the timber logging system.
Depending on the origin of the entry, different fields may be present or absent. For example, information about the entry's origin (sourceLocation, loggingClass, loggingMethod) will normally be present when the entry is created using the timber API but may be absent for entries bridged from other logging systems' APIs.
- level
the optional level at which this entry was logged
- message
the optional text content of this entry, which may contain multiple lines
- sourceLocation
the optional source code location from which this entry was logged
- loggingClass
the optional name of the class from which this entry was logged
- loggingMethod
the optional name of the method from which this entry was logged
- tags
the set of tags that have been associated with this entry
- timestamp
the timestamp at which this entry was created, milliseconds since Java epoch UTC
- threadName
the name of the thread which created this entry
- loggerAttributes
the attributes associated with the logger that created this entry
- threadAttributes
the attributes associated with the thread that created this entry
- Alphabetic
- By Inheritance
- Entry
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new Entry(level: Option[Level] = None, message: Option[Message] = None, sourceLocation: Option[SourceLocation] = None, loggingClass: Option[String] = None, loggingMethod: Option[String] = None, tags: Set[Tag] = Set.empty, timestamp: Long = System.currentTimeMillis, threadName: String = Thread.currentThread.getName, loggerAttributes: Map[String, Any] = Map.empty, threadAttributes: Map[String, List[String]] = Map.empty)
- level
the optional level at which this entry was logged
- message
the optional text content of this entry, which may contain multiple lines
- sourceLocation
the optional source code location from which this entry was logged
- loggingClass
the optional name of the class from which this entry was logged
- loggingMethod
the optional name of the method from which this entry was logged
- tags
the set of tags that have been associated with this entry
- timestamp
the timestamp at which this entry was created, milliseconds since Java epoch UTC
- threadName
the name of the thread which created this entry
- loggerAttributes
the attributes associated with the logger that created this entry
- threadAttributes
the attributes associated with the thread that created this entry
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()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- 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()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val level: Option[Level]
- val loggerAttributes: Map[String, Any]
- val loggingClass: Option[String]
- val loggingMethod: Option[String]
- val message: Option[Message]
- 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()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val sourceLocation: Option[SourceLocation]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val tags: Set[Tag]
- val threadAttributes: Map[String, List[String]]
- val threadName: String
- val timestamp: Long
- 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()