LogCache

harness.zio.test.LogCache$
See theLogCache companion trait
object LogCache

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
LogCache.type

Members list

Type members

Classlikes

final case class Impl(ref: Ref[Chunk[ExecutedEvent]]) extends LogCache

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait LogCache
class Object
trait Matchable
class Any
Show all
object Impl

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Impl.type
final case class LoggerTarget(logCache: LogCache) extends Target

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait Target
class Object
trait Matchable
class Any
Show all
object LoggerTarget

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Value members

Concrete methods

def add(event: ExecutedEvent): URIO[LogCache, Unit]
def add(events: Chunk[ExecutedEvent]): URIO[LogCache, Unit]
final def exists(message: String => Boolean, logLevel: Option[LogLevel] => Boolean, context: Map[String, String] => Boolean, at: Instant => Boolean): URIO[LogCache, Boolean]
def get: URIO[LogCache, Chunk[ExecutedEvent]]

Concrete fields

val layer: ULayer[LogCache & LoggerTarget]