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 EncMode = NonStrict.type
    Definition Classes
    LogIOAbstractLogIO
  2. 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. final macro def audit(message: String): ZIO[LogIO[[γ$1$]ZIO[Any, Nothing, γ$1$]], Nothing, Unit]
    Definition Classes
    AbstractMacroLogIO
  10. final macro def auditTo(sinkKey: String)(message: String): ZIO[LogIO[[γ$1$]ZIO[Any, Nothing, γ$1$]], Nothing, Unit]
    Definition Classes
    AbstractMacroLogIO
  11. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  12. final def createContext(logLevel: logstage.Level, customContext: CustomContext)(implicit pos: CodePositionMaterializer): ZIO[LogIO3[ZIO], Nothing, Context]
    Definition Classes
    LogZIOImpl → LogCreateIO
  13. final def createEntry(logLevel: logstage.Level, message: izumi.logstage.api.Log.Message)(implicit pos: CodePositionMaterializer): ZIO[LogIO3[ZIO], Nothing, Entry]
    Definition Classes
    LogZIOImpl → LogCreateIO
  14. final macro def crit(message: String): ZIO[LogIO[[γ$1$]ZIO[Any, Nothing, γ$1$]], Nothing, Unit]
    Definition Classes
    AbstractMacroLogIO
  15. final macro def critTo(sinkKey: String)(message: String): ZIO[LogIO[[γ$1$]ZIO[Any, Nothing, γ$1$]], Nothing, Unit]
    Definition Classes
    AbstractMacroLogIO
  16. final macro def debug(message: String): ZIO[LogIO[[γ$1$]ZIO[Any, Nothing, γ$1$]], Nothing, Unit]
    Definition Classes
    AbstractMacroLogIO
  17. final macro def debugTo(sinkKey: String)(message: String): ZIO[LogIO[[γ$1$]ZIO[Any, Nothing, γ$1$]], Nothing, Unit]
    Definition Classes
    AbstractMacroLogIO
  18. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  20. final macro def error(message: String): ZIO[LogIO[[γ$1$]ZIO[Any, Nothing, γ$1$]], Nothing, Unit]
    Definition Classes
    AbstractMacroLogIO
  21. final macro def errorTo(sinkKey: String)(message: String): ZIO[LogIO[[γ$1$]ZIO[Any, Nothing, γ$1$]], Nothing, Unit]
    Definition Classes
    AbstractMacroLogIO
  22. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  23. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  24. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  25. final macro def info(message: String): ZIO[LogIO[[γ$1$]ZIO[Any, Nothing, γ$1$]], Nothing, Unit]
    Definition Classes
    AbstractMacroLogIO
  26. final macro def infoTo(sinkKey: String)(message: String): ZIO[LogIO[[γ$1$]ZIO[Any, Nothing, γ$1$]], Nothing, Unit]
    Definition Classes
    AbstractMacroLogIO
  27. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  28. final def log(logLevel: logstage.Level)(messageThunk: => izumi.logstage.api.Log.Message)(implicit pos: CodePositionMaterializer): ZIO[LogIO3[ZIO], Nothing, Unit]
    Definition Classes
    LogZIOImpl → AbstractLogIO
  29. final def log(entry: Entry): ZIO[LogIO3[ZIO], Nothing, Unit]
    Definition Classes
    LogZIOImpl → AbstractLogIO
  30. final def logMethodF(level: izumi.logstage.api.Log.Level, printTypes: Boolean = false, printImplicits: Boolean = false): LogMethodF[[β$0$]ZIO[LogIO[[γ$1$]ZIO[Any, Nothing, γ$1$]], Nothing, β$0$], EncMode]
    Definition Classes
    AbstractMacroLogIO
  31. final def logTo(sinkKey: String)(logLevel: logstage.Level)(messageThunk: => izumi.logstage.api.Log.Message)(implicit pos: CodePositionMaterializer): ZIO[LogIO3[ZIO], Nothing, Unit]
    Definition Classes
    LogZIOImpl → AbstractLogIO
  32. final macro def logValues(level: izumi.logstage.api.Log.Level)(values: Any*): ZIO[LogIO[[γ$1$]ZIO[Any, Nothing, γ$1$]], Nothing, Unit]
    Definition Classes
    AbstractMacroLogIO
  33. final def messageOnly(message: => izumi.logstage.api.Log.Message)(implicit pos: CodePositionMaterializer): ZIO[LogIO[[γ$1$]ZIO[Any, Nothing, γ$1$]], Nothing, Unit]
    Definition Classes
    AbstractLogIO
  34. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  35. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  36. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  37. final def raw: logstage.LogIORaw[[β$0$]ZIO[LogIO[[γ$1$]ZIO[Any, Nothing, γ$1$]], Nothing, β$0$], AnyEncoded]
    Definition Classes
    LogIO
  38. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  39. def toString(): String
    Definition Classes
    AnyRef → Any
  40. 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
  41. final macro def traceTo(sinkKey: String)(message: String): ZIO[LogIO[[γ$1$]ZIO[Any, Nothing, γ$1$]], Nothing, Unit]
    Definition Classes
    AbstractMacroLogIO
  42. 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
  43. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  44. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  45. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  46. final macro def warn(message: String): ZIO[LogIO[[γ$1$]ZIO[Any, Nothing, γ$1$]], Nothing, Unit]
    Definition Classes
    AbstractMacroLogIO
  47. final macro def warnTo(sinkKey: String)(message: String): ZIO[LogIO[[γ$1$]ZIO[Any, Nothing, γ$1$]], Nothing, Unit]
    Definition Classes
    AbstractMacroLogIO
  48. def widen[G[_]](implicit ev: <:<[ZIO[LogIO[[γ$1$]ZIO[Any, Nothing, γ$1$]], Nothing, Unit], G[Unit]]): LogIO[G]
    Definition Classes
    LogIOAbstractLogIOUnsafeLogIOLogCreateIO
  49. final def withCustomContext(context: CustomContext): LogIO2[[β$0$, γ$1$]ZIO[LogIO[[γ$1$]ZIO[Any, Nothing, γ$1$]], β$0$, γ$1$]]
    Definition Classes
    LogZIOImpl → AbstractLogIO
  50. final def withCustomContext(context: (String, AnyEncoded)*): Self[[β$0$]ZIO[LogIO[[γ$1$]ZIO[Any, Nothing, γ$1$]], Nothing, β$0$]]
    Definition Classes
    EncodingAwareAbstractLogIO
  51. 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