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(traceRef: Ref[Chunk[ExecutedEvent]], defaultRef: Ref[Chunk[ExecutedEvent]]) extends LogCache

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait LogCache
class Object
trait Matchable
class Any
Show all
final case class LoggerTarget(logCache: LogCache, use: (LogCache, ExecutedEvent) => UIO[Unit]) extends Target

Attributes

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

Value members

Concrete methods

def addDefault(event: ExecutedEvent): URIO[LogCache, Unit]
def addDefault(events: Chunk[ExecutedEvent]): URIO[LogCache, Unit]
def addTrace(event: ExecutedEvent): URIO[LogCache, Unit]
def addTrace(events: Chunk[ExecutedEvent]): URIO[LogCache, Unit]
final def existsDefault(message: String => Boolean, logLevel: Option[LogLevel] => Boolean, context: Map[String, String] => Boolean, at: Instant => Boolean): URIO[LogCache, Boolean]
final def existsTrace(message: String => Boolean, logLevel: Option[LogLevel] => Boolean, context: Map[String, String] => Boolean, at: Instant => Boolean): URIO[LogCache, Boolean]
def getDefault: URIO[LogCache, Chunk[ExecutedEvent]]
def getTrace: URIO[LogCache, Chunk[ExecutedEvent]]

Concrete fields

val layer: ULayer[LogCache]