Packages

object Console extends Serializable

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Console
  2. Serializable
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val any: ZLayer[Has[Console], Nothing, Has[Console]]
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. val live: Layer[Nothing, Has[Console]]
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. def print(line: => Any)(implicit trace: ZTraceElement): ZIO[Has[Console], IOException, Unit]

    Prints text to the console.

  18. def printError(line: => Any)(implicit trace: ZTraceElement): ZIO[Has[Console], IOException, Unit]

    Prints text to the standard error console.

  19. def printLine(line: => Any)(implicit trace: ZTraceElement): ZIO[Has[Console], IOException, Unit]

    Prints a line of text to the console, including a newline character.

  20. def printLineError(line: => Any)(implicit trace: ZTraceElement): ZIO[Has[Console], IOException, Unit]

    Prints a line of text to the standard error console, including a newline character.

  21. def readLine(implicit trace: ZTraceElement): ZIO[Has[Console], IOException, String]

    Retrieves a line of input from the console.

    Retrieves a line of input from the console. Fails with an java.io.EOFException when the underlying java.io.Reader returns null.

  22. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  23. def toString(): String
    Definition Classes
    AnyRef → Any
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  27. object ConsoleLive extends Console

Deprecated Value Members

  1. def getStrLn(implicit trace: ZTraceElement): ZIO[Has[Console], IOException, String]

    Retrieves a line of input from the console.

    Retrieves a line of input from the console. Fails with an java.io.EOFException when the underlying java.io.Reader returns null.

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use readLine

  2. def putStr(line: => Any)(implicit trace: ZTraceElement): ZIO[Has[Console], IOException, Unit]

    Prints text to the console.

    Prints text to the console.

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use print

  3. def putStrErr(line: => Any)(implicit trace: ZTraceElement): ZIO[Has[Console], IOException, Unit]

    Prints text to the standard error console.

    Prints text to the standard error console.

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use printError

  4. def putStrLn(line: => Any)(implicit trace: ZTraceElement): ZIO[Has[Console], IOException, Unit]

    Prints a line of text to the console, including a newline character.

    Prints a line of text to the console, including a newline character.

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use printLine

  5. def putStrLnErr(line: => Any)(implicit trace: ZTraceElement): ZIO[Has[Console], IOException, Unit]

    Prints a line of text to the standard error console, including a newline character.

    Prints a line of text to the standard error console, including a newline character.

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.0) use printLineError

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped