Debug

zio.ZLayer$.Debug$
See theDebug companion trait
object Debug

Attributes

Companion:
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Debug.type

Members list

Concise view

Type members

Inherited types

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete fields

Including this layer in a call to a compile-time ZLayer constructor, such as ZIO.provide or ZLayer.make, will display a tree visualization of the constructed layer graph as well as a link to Mermaid chart.

Including this layer in a call to a compile-time ZLayer constructor, such as ZIO.provide or ZLayer.make, will display a tree visualization of the constructed layer graph as well as a link to Mermaid chart.

 val layer =
   ZLayer.make[OldLady](
     OldLady.live,
     Spider.live,
     Fly.live,
     Bear.live,
     ZLayer.Debug.mermaid
   )

// Including `ZLayer.Debug.mermaid` will generate the following compilation error:
//
// ◉ OldLady.live
// ├─◑ Spider.live
// │ ╰─◑ Fly.live
// ╰─◑ Bear.live
//   ╰─◑ Fly.live
//
// Mermaid Live Editor Link
// https://mermaid-js.github.io/mermaid-live-editor/edit/#eyJjb2RlIjoiZ3JhcGhcbiAgICBDb25zb2xlLmxpdmVcbiAgICBTcGlkZXIubGl2ZSAtLT4gRmx5LmxpdmVcbiAgICBGbHkubGl2ZSAtLT4gQ29uc29sZS5saXZlXG4gICAgT2xkTGFkeS5saXZlIC0tPiBTcGlkZXIubGl2ZVxuICAgIE9sZExhZHkubGl2ZSAtLT4gQmVhci5saXZlXG4gICAgQmVhci5saXZlIC0tPiBGbHkubGl2ZVxuICAgICIsIm1lcm1haWQiOiAie1xuICBcInRoZW1lXCI6IFwiZGVmYXVsdFwiXG59IiwgInVwZGF0ZUVkaXRvciI6IHRydWUsICJhdXRvU3luYyI6IHRydWUsICJ1cGRhdGVEaWFncmFtIjogdHJ1ZX0=

Attributes

Including this layer in a call to a compile-time ZLayer constructor, such as ZIO.provide or ZLayer.make, will display a tree visualization of the constructed layer graph.

Including this layer in a call to a compile-time ZLayer constructor, such as ZIO.provide or ZLayer.make, will display a tree visualization of the constructed layer graph.

 val layer =
   ZLayer.make[OldLady](
     OldLady.live,
     Spider.live,
     Fly.live,
     Bear.live,
     ZLayer.Debug.tree
   )

// Including `ZLayer.Debug.tree` will generate the following compilation error:
//
// ◉ OldLady.live
// ├─◑ Spider.live
// │ ╰─◑ Fly.live
// ╰─◑ Bear.live
//   ╰─◑ Fly.live

Attributes