Packages

object log extends LogZIOImpl

Lets you carry LogZIO capability in environment

import logstage.LogZIO
import logstage.LogZIO.log
import zio.URIO

def fn: URIO[LogZIO, Unit] = {
  log.info(s"I'm logging with ${log}stage!")
}
Linear Supertypes
LogZIOImpl, LogIO[[β$0$]ZIO[LogIO[[γ$1$]ZIO[Any, Nothing, γ$1$]], Nothing, β$0$]], AbstractMacroLogIO[[β$0$]ZIO[LogIO[[γ$1$]ZIO[Any, Nothing, γ$1$]], Nothing, β$0$]], EncodingAwareAbstractLogIO[[β$0$]ZIO[LogIO[[γ$1$]ZIO[Any, Nothing, γ$1$]], Nothing, β$0$], AnyEncoded], AbstractLogIO[[β$0$]ZIO[LogIO[[γ$1$]ZIO[Any, Nothing, γ$1$]], Nothing, β$0$]], UnsafeLogIO[[β$0$]ZIO[LogIO[[γ$1$]ZIO[Any, Nothing, γ$1$]], Nothing, β$0$]], LogCreateIO[[β$0$]ZIO[LogIO[[γ$1$]ZIO[Any, Nothing, γ$1$]], Nothing, β$0$]], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. log
  2. LogZIOImpl
  3. LogIO
  4. AbstractMacroLogIO
  5. EncodingAwareAbstractLogIO
  6. AbstractLogIO
  7. UnsafeLogIO
  8. LogCreateIO
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. type Self[f[_]] = LogIO[f]

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. def acceptable(position: CodePosition, logLevel: logstage.Level): ZIO[LogIO3[ZIO], Nothing, Boolean]

    Check if this code position is not blacklisted and logLevel is at or above the configured threshold

    Check if this code position is not blacklisted and logLevel is at or above the configured threshold

    Definition Classes
    LogZIOImpl → UnsafeLogIO
  5. final def apply(context: Map[String, AnyEncoded]): Self[[β$0$]ZIO[LogIO[[γ$1$]ZIO[Any, Nothing, γ$1$]], Nothing, β$0$]]
    Definition Classes
    EncodingAwareAbstractLogIO
  6. final def apply(context: (String, AnyEncoded)*): Self[[β$0$]ZIO[LogIO[[γ$1$]ZIO[Any, Nothing, γ$1$]], Nothing, β$0$]]
    Definition Classes
    EncodingAwareAbstractLogIO
  7. final def apply(context: CustomContext): Self[[β$0$]ZIO[LogIO[[γ$1$]ZIO[Any, Nothing, γ$1$]], Nothing, β$0$]]
    Definition Classes
    AbstractLogIO
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  10. final def createContext(logLevel: logstage.Level, customContext: CustomContext)(implicit pos: CodePositionMaterializer): ZIO[LogIO3[ZIO], Nothing, Context]
    Definition Classes
    LogZIOImpl → LogCreateIO
  11. final def createEntry(logLevel: logstage.Level, message: Message)(implicit pos: CodePositionMaterializer): ZIO[LogIO3[ZIO], Nothing, Entry]
    Definition Classes
    LogZIOImpl → LogCreateIO
  12. final macro def crit(message: String): ZIO[LogIO[[γ$1$]ZIO[Any, Nothing, γ$1$]], Nothing, Unit]
    Definition Classes
    AbstractMacroLogIO
  13. final macro def debug(message: String): ZIO[LogIO[[γ$1$]ZIO[Any, Nothing, γ$1$]], Nothing, Unit]
    Definition Classes
    AbstractMacroLogIO
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  16. final macro def error(message: String): ZIO[LogIO[[γ$1$]ZIO[Any, Nothing, γ$1$]], Nothing, Unit]
    Definition Classes
    AbstractMacroLogIO
  17. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  18. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. final macro def info(message: String): ZIO[LogIO[[γ$1$]ZIO[Any, Nothing, γ$1$]], Nothing, Unit]
    Definition Classes
    AbstractMacroLogIO
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. final def log(logLevel: logstage.Level)(messageThunk: => Message)(implicit pos: CodePositionMaterializer): ZIO[LogIO3[ZIO], Nothing, Unit]
    Definition Classes
    LogZIOImpl → AbstractLogIO
  23. final def log(entry: Entry): ZIO[LogIO3[ZIO], Nothing, Unit]
    Definition Classes
    LogZIOImpl → AbstractLogIO
  24. final macro def logMethod[A](level: izumi.logstage.api.Log.Level, printTypes: Boolean, printImplicits: Boolean)(function: => A): ZIO[LogIO[[γ$1$]ZIO[Any, Nothing, γ$1$]], Nothing, A]
    Definition Classes
    AbstractMacroLogIO
  25. final macro def logMethod[A](level: izumi.logstage.api.Log.Level, printTypes: Boolean)(function: => A): ZIO[LogIO[[γ$1$]ZIO[Any, Nothing, γ$1$]], Nothing, A]
    Definition Classes
    AbstractMacroLogIO
  26. final macro def logMethod[A](level: izumi.logstage.api.Log.Level)(function: => A): ZIO[LogIO[[γ$1$]ZIO[Any, Nothing, γ$1$]], Nothing, A]
    Definition Classes
    AbstractMacroLogIO
  27. final macro def logMethodF[G[x] >: ZIO[LogIO[[γ$1$]ZIO[Any, Nothing, γ$1$]], Nothing, x], A](level: izumi.logstage.api.Log.Level, printTypes: Boolean, printImplicits: Boolean)(function: => G[A]): G[A]
    Definition Classes
    AbstractMacroLogIO
  28. final macro def logMethodF[G[x] >: ZIO[LogIO[[γ$1$]ZIO[Any, Nothing, γ$1$]], Nothing, x], A](level: izumi.logstage.api.Log.Level, printTypes: Boolean)(function: => G[A]): G[A]
    Definition Classes
    AbstractMacroLogIO
  29. final macro def logMethodF[G[x] >: ZIO[LogIO[[γ$1$]ZIO[Any, Nothing, γ$1$]], Nothing, x], A](level: izumi.logstage.api.Log.Level)(function: => G[A]): G[A]
    Definition Classes
    AbstractMacroLogIO
  30. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  31. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  32. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  33. final def raw: logstage.LogIORaw[[β$0$]ZIO[LogIO[[γ$1$]ZIO[Any, Nothing, γ$1$]], Nothing, β$0$], AnyEncoded]
    Definition Classes
    LogIO
  34. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  35. def toString(): String
    Definition Classes
    AnyRef → Any
  36. final macro def trace(message: String): ZIO[LogIO[[γ$1$]ZIO[Any, Nothing, γ$1$]], Nothing, Unit]

    Aliases for AbstractLogIO#log(entry:* that look better in Intellij

    Aliases for AbstractLogIO#log(entry:* that look better in Intellij

    Definition Classes
    AbstractMacroLogIO
  37. final def unsafeLog(entry: Entry): ZIO[LogIO3[ZIO], Nothing, Unit]

    Log irrespective of the log level threshold

    Log irrespective of the log level threshold

    Definition Classes
    LogZIOImpl → UnsafeLogIO
  38. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  39. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  40. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  41. final macro def warn(message: String): ZIO[LogIO[[γ$1$]ZIO[Any, Nothing, γ$1$]], Nothing, Unit]
    Definition Classes
    AbstractMacroLogIO
  42. def widen[G[_]](implicit ev: <:<[ZIO[LogIO[[γ$1$]ZIO[Any, Nothing, γ$1$]], Nothing, AnyRef], G[AnyRef]]): LogIO[G]
    Definition Classes
    LogIOAbstractLogIOUnsafeLogIOLogCreateIO
  43. final def withCustomContext(context: CustomContext): LogIO2[[β$0$, γ$1$]ZIO[LogIO[[γ$1$]ZIO[Any, Nothing, γ$1$]], β$0$, γ$1$]]
    Definition Classes
    LogZIOImpl → AbstractLogIO
  44. final def withCustomContext(context: (String, AnyEncoded)*): Self[[β$0$]ZIO[LogIO[[γ$1$]ZIO[Any, Nothing, γ$1$]], Nothing, β$0$]]
    Definition Classes
    EncodingAwareAbstractLogIO
  45. final def withCustomContextMap(context: Map[String, AnyEncoded]): Self[[β$0$]ZIO[LogIO[[γ$1$]ZIO[Any, Nothing, γ$1$]], Nothing, β$0$]]
    Definition Classes
    EncodingAwareAbstractLogIO

Inherited from LogZIOImpl

Inherited from LogIO[[β$0$]ZIO[LogIO[[γ$1$]ZIO[Any, Nothing, γ$1$]], Nothing, β$0$]]

Inherited from AbstractMacroLogIO[[β$0$]ZIO[LogIO[[γ$1$]ZIO[Any, Nothing, γ$1$]], Nothing, β$0$]]

Inherited from EncodingAwareAbstractLogIO[[β$0$]ZIO[LogIO[[γ$1$]ZIO[Any, Nothing, γ$1$]], Nothing, β$0$], AnyEncoded]

Inherited from AbstractLogIO[[β$0$]ZIO[LogIO[[γ$1$]ZIO[Any, Nothing, γ$1$]], Nothing, β$0$]]

Inherited from UnsafeLogIO[[β$0$]ZIO[LogIO[[γ$1$]ZIO[Any, Nothing, γ$1$]], Nothing, β$0$]]

Inherited from LogCreateIO[[β$0$]ZIO[LogIO[[γ$1$]ZIO[Any, Nothing, γ$1$]], Nothing, β$0$]]

Inherited from AnyRef

Inherited from Any

Ungrouped