Packages

object log extends LogBIOEnvInstance[ZIO]

Lets you carry LogZIO capability in environment

import logstage.LogstageZIO.log
import zio.ZIO

def fn[F[-_, +_, +_]]: ZIO[LogZIO, Nothing, Unit] = {
  log.info(s"I'm logging with ${log}stage!")
}
Linear Supertypes
LogBIOEnvInstance[ZIO], LogIO[[β$0$]ZIO[Has[LogIO[[γ$1$]ZIO[Any, Nothing, γ$1$]]], Nothing, β$0$]], AbstractMacroLoggerF[[β$0$]ZIO[Has[LogIO[[γ$1$]ZIO[Any, Nothing, γ$1$]]], Nothing, β$0$]], EncodingAwareAbstractLogIO[[β$0$]ZIO[Has[LogIO[[γ$1$]ZIO[Any, Nothing, γ$1$]]], Nothing, β$0$], AnyEncoded], AbstractLogIO[[β$0$]ZIO[Has[LogIO[[γ$1$]ZIO[Any, Nothing, γ$1$]]], Nothing, β$0$]], UnsafeLogIO[[β$0$]ZIO[Has[LogIO[[γ$1$]ZIO[Any, Nothing, γ$1$]]], Nothing, β$0$]], LogCreateIO[[β$0$]ZIO[Has[LogIO[[γ$1$]ZIO[Any, Nothing, γ$1$]]], Nothing, β$0$]], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. log
  2. LogBIOEnvInstance
  3. LogIO
  4. AbstractMacroLoggerF
  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(logLevel: logstage.Level)(implicit pos: CodePositionMaterializer): ZIO[Has[LogBIO3[ZIO]], Nothing, Boolean]

    Check if this class/package is allowed to log messages at or above logLevel

    Check if this class/package is allowed to log messages at or above logLevel

    Definition Classes
    LogBIOEnvInstanceUnsafeLogIO
  5. def acceptable(loggerId: LoggerId, logLevel: logstage.Level): ZIO[Has[LogBIO3[ZIO]], Nothing, Boolean]

    Check if loggerId is not blacklisted and logLevel is at or above the configured threshold

    Check if loggerId is not blacklisted and logLevel is at or above the configured threshold

    Definition Classes
    LogBIOEnvInstanceUnsafeLogIO
  6. final def apply(context: Map[String, AnyEncoded]): Self[[β$0$]ZIO[Has[LogIO[[γ$1$]ZIO[Any, Nothing, γ$1$]]], Nothing, β$0$]]
    Definition Classes
    EncodingAwareAbstractLogIO
  7. final def apply(context: (String, AnyEncoded)*): Self[[β$0$]ZIO[Has[LogIO[[γ$1$]ZIO[Any, Nothing, γ$1$]]], Nothing, β$0$]]
    Definition Classes
    EncodingAwareAbstractLogIO
  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. def createContext(logLevel: logstage.Level, customContext: CustomContext)(implicit pos: CodePositionMaterializer): ZIO[Has[LogBIO3[ZIO]], Nothing, Context]
    Definition Classes
    LogBIOEnvInstanceLogCreateIO
  11. def createEntry(logLevel: logstage.Level, message: Message)(implicit pos: CodePositionMaterializer): ZIO[Has[LogBIO3[ZIO]], Nothing, Entry]
    Definition Classes
    LogBIOEnvInstanceLogCreateIO
  12. final macro def crit(message: String): ZIO[Has[LogIO[[γ$1$]ZIO[Any, Nothing, γ$1$]]], Nothing, Unit]
    Definition Classes
    AbstractMacroLoggerF
  13. final macro def debug(message: String): ZIO[Has[LogIO[[γ$1$]ZIO[Any, Nothing, γ$1$]]], Nothing, Unit]
    Definition Classes
    AbstractMacroLoggerF
  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[Has[LogIO[[γ$1$]ZIO[Any, Nothing, γ$1$]]], Nothing, Unit]
    Definition Classes
    AbstractMacroLoggerF
  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[Has[LogIO[[γ$1$]ZIO[Any, Nothing, γ$1$]]], Nothing, Unit]
    Definition Classes
    AbstractMacroLoggerF
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. def log(logLevel: logstage.Level)(messageThunk: => Message)(implicit pos: CodePositionMaterializer): ZIO[Has[LogBIO3[ZIO]], Nothing, Unit]
    Definition Classes
    LogBIOEnvInstanceAbstractLogIO
  23. def log(entry: Entry): ZIO[Has[LogBIO3[ZIO]], Nothing, Unit]
    Definition Classes
    LogBIOEnvInstanceAbstractLogIO
  24. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  27. final def raw: LogIORaw[[β$0$]ZIO[Has[LogIO[[γ$1$]ZIO[Any, Nothing, γ$1$]]], Nothing, β$0$], AnyEncoded]
    Definition Classes
    LogIO
  28. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  29. def toString(): String
    Definition Classes
    AnyRef → Any
  30. final macro def trace(message: String): ZIO[Has[LogIO[[γ$1$]ZIO[Any, Nothing, γ$1$]]], Nothing, Unit]

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

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

    Definition Classes
    AbstractMacroLoggerF
  31. def unsafeLog(entry: Entry): ZIO[Has[LogBIO3[ZIO]], Nothing, Unit]

    Log irrespective of the log level threshold

    Log irrespective of the log level threshold

    Definition Classes
    LogBIOEnvInstanceUnsafeLogIO
  32. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  33. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  34. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  35. final macro def warn(message: String): ZIO[Has[LogIO[[γ$1$]ZIO[Any, Nothing, γ$1$]]], Nothing, Unit]
    Definition Classes
    AbstractMacroLoggerF
  36. def widen[G[_]](implicit ev: <:<[ZIO[Has[LogIO[[γ$1$]ZIO[Any, Nothing, γ$1$]]], Nothing, _], G[_]]): LogIO[G]
    Definition Classes
    LogIOAbstractLogIOUnsafeLogIOLogCreateIO
  37. def withCustomContext(context: CustomContext): LogBIO[[β$0$, γ$1$]ZIO[Has[LogIO[[γ$1$]ZIO[Any, Nothing, γ$1$]]], β$0$, γ$1$]]
    Definition Classes
    LogBIOEnvInstanceAbstractLogIO
  38. final def withCustomContext(context: (String, AnyEncoded)*): Self[[β$0$]ZIO[Has[LogIO[[γ$1$]ZIO[Any, Nothing, γ$1$]]], Nothing, β$0$]]
    Definition Classes
    EncodingAwareAbstractLogIO
  39. final def withCustomContextMap(context: Map[String, AnyEncoded]): Self[[β$0$]ZIO[Has[LogIO[[γ$1$]ZIO[Any, Nothing, γ$1$]]], Nothing, β$0$]]
    Definition Classes
    EncodingAwareAbstractLogIO

Inherited from LogBIOEnvInstance[ZIO]

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

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

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

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped