case class EntryFacets(level: Option[Option[Level]] = None, message: Option[Option[Message]] = None, sourceFile: Option[Option[String]] = None, sourceLineNumber: Option[Option[Int]] = None, loggingClass: Option[Option[String]] = None, loggingMethod: Option[Option[String]] = None, tags: Option[Set[Tag]] = None, timestamp: Option[Long] = None, threadName: Option[String] = None, loggerAttributes: Option[Map[String, Any]] = None, threadAttributes: Option[Map[String, List[String]]] = None) extends Product with Serializable
Represents an incomplete view of an Entry. The entry may be real or hypothetical. Real entries are sometimes used to generate views of themselves to focus only on the relevant aspects of the entry (e.g., see CacheKeyExtractor). EntryFacets representing hypothetical entries are used to query Conditions to find out whether they would accept an entry based only on knowledge the fields present.
For each field of the Entry class, this class contains a corresponding field that is optional. The absence
of the field from an EntryFacets instance implies nothing. The value of the field in the corresponding entry
is completely unknown and can't be reasoned about. The presence of the field in the EntryFacets implies that
the value of the field in the Entry is known. Note that due to the nesting of the Options, it is possible
that it is known that the value is absent in the Entry. This is represented by Some(None).
- level
optional view of the level field in an Entry instance
- message
optional view of the message field in an Entry instance
- sourceFile
optional view of the sourceFile field in an Entry instance
- sourceLineNumber
optional view of the sourceLineNumber field in an Entry instance
- loggingClass
optional view of the loggingClass field in an Entry instance
- loggingMethod
optional view of the loggingMethod field in an Entry instance
- tags
optional view of the tags field in an Entry instance
- timestamp
optional view of the timestamp field in an Entry instance
- threadName
optional view of the threadName field in an Entry instance
- loggerAttributes
optional view of the loggerAttributes field in an Entry instance
- threadAttributes
optional view of the threadAttributes field in an Entry instance
- Alphabetic
- By Inheritance
- EntryFacets
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
EntryFacets(level: Option[Option[Level]] = None, message: Option[Option[Message]] = None, sourceFile: Option[Option[String]] = None, sourceLineNumber: Option[Option[Int]] = None, loggingClass: Option[Option[String]] = None, loggingMethod: Option[Option[String]] = None, tags: Option[Set[Tag]] = None, timestamp: Option[Long] = None, threadName: Option[String] = None, loggerAttributes: Option[Map[String, Any]] = None, threadAttributes: Option[Map[String, List[String]]] = None)
- level
optional view of the level field in an Entry instance
- message
optional view of the message field in an Entry instance
- sourceFile
optional view of the sourceFile field in an Entry instance
- sourceLineNumber
optional view of the sourceLineNumber field in an Entry instance
- loggingClass
optional view of the loggingClass field in an Entry instance
- loggingMethod
optional view of the loggingMethod field in an Entry instance
- tags
optional view of the tags field in an Entry instance
- timestamp
optional view of the timestamp field in an Entry instance
- threadName
optional view of the threadName field in an Entry instance
- loggerAttributes
optional view of the loggerAttributes field in an Entry instance
- threadAttributes
optional view of the threadAttributes field in an Entry instance
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( ... ) @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[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val level: Option[Option[Level]]
- val loggerAttributes: Option[Map[String, Any]]
- val loggingClass: Option[Option[String]]
- val loggingMethod: Option[Option[String]]
- val message: Option[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()
- val sourceFile: Option[Option[String]]
- val sourceLineNumber: Option[Option[Int]]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val tags: Option[Set[Tag]]
- val threadAttributes: Option[Map[String, List[String]]]
- val threadName: Option[String]
- val timestamp: Option[Long]
-
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( ... ) @native()