final case class LogAnnotation[A](name: String, combine: (A, A) ⇒ A, render: (A) ⇒ String)(implicit evidence$1: Tag[A]) extends Product with Serializable
A LogAnnotation describes a particular type of statically-typed log
annotation applied to log lines. Log annotations combine in user-defined
ways, which means they can have arbitrary structure. In the end, however,
it must be possible to render each log annotation as a string.
myEffect @@ UserId("jdoe")- Self Type
- LogAnnotation[A]
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- LogAnnotation
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new LogAnnotation(name: String, combine: (A, A) ⇒ A, render: (A) ⇒ String)(implicit arg0: Tag[A])
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
- def apply(value: A): ZIOAspect[Nothing, Any, Nothing, Any, Nothing, Any]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
- val combine: (A, A) ⇒ A
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(that: Any): Boolean
- Definition Classes
- LogAnnotation → Equals → AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- LogAnnotation → AnyRef → Any
- def id: Id
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val name: String
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val render: (A) ⇒ String
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
tag: Tag[A]
The class tag of the annotation type, used for disambiguation purposes only.
-
def
toString(): String
- Definition Classes
- LogAnnotation → AnyRef → Any
-
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()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )