Object

zio.logging.backend

SLF4J

Related Doc: package backend

Permalink

object SLF4J

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SLF4J
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  8. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  9. def getLoggerName(default: String = "zio-slf4j-logger"): (Trace) ⇒ String

    Permalink

    get logger name from Trace

    get logger name from Trace

    trace with value example.LivePingService.ping(PingService.scala:22) will have example.LivePingService as logger name

  10. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  11. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  12. val logFormatDefault: LogFormat

    Permalink

    default log format for slf4j logger

  13. def logMarkerName(value: String): ZIOAspect[Nothing, Any, Nothing, Any, Nothing, Any]

    Permalink

    slf4j marker name aspect

    slf4j marker name aspect

    annotation key: SLF4J.logMarkerNameAnnotationKey

  14. val logMarkerNameAnnotationKey: String

    Permalink

    log annotation key for slf4j marker name

  15. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  16. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  17. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  18. def slf4j: ZLayer[Any, Nothing, Unit]

    Permalink

    Use this layer to register an use an Slf4j logger in your app.

    Use this layer to register an use an Slf4j logger in your app. To avoid double logging, you should create this layer only once in your application

  19. def slf4j(format: LogFormat): ZLayer[Any, Nothing, Unit]

    Permalink

    Use this layer to register an use an Slf4j logger in your app.

    Use this layer to register an use an Slf4j logger in your app. To avoid double logging, you should create this layer only once in your application

  20. def slf4j(format: LogFormat, loggerName: (Trace) ⇒ String): ZLayer[Any, Nothing, Unit]

    Permalink

    Use this layer to register an use an Slf4j logger in your app.

    Use this layer to register an use an Slf4j logger in your app. To avoid double logging, you should create this layer only once in your application

  21. def slf4jLogger(format: LogFormat, loggerName: (Trace) ⇒ String): ZLogger[String, Unit]

    Permalink
  22. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  23. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  24. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  2. def loggerName(value: String): ZIOAspect[Nothing, Any, Nothing, Any, Nothing, Any]

    Permalink

    slf4j logger name aspect, by this aspect is possible to change default logger name (default logger name is extracted from Trace)

    slf4j logger name aspect, by this aspect is possible to change default logger name (default logger name is extracted from Trace)

    annotation key: SLF4J.loggerNameAnnotationKey

    Annotations
    @deprecated
    Deprecated

    (Since version 2.1.8) use zio.logging.loggerName

  3. val loggerNameAnnotationKey: String

    Permalink

    log annotation key for slf4j logger name

    log annotation key for slf4j logger name

    Annotations
    @deprecated
    Deprecated

    (Since version 2.1.8) use zio.logging.loggerNameAnnotationKey

  4. def slf4j(logLevel: LogLevel): ZLayer[Any, Nothing, Unit]

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.1) use layer without logLevel

  5. def slf4j(logLevel: LogLevel, format: LogFormat): ZLayer[Any, Nothing, Unit]

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.1) use layer without logLevel

  6. def slf4j(logLevel: LogLevel, format: LogFormat, loggerName: (Trace) ⇒ String): ZLayer[Any, Nothing, Unit]

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.1) use layer without logLevel

Inherited from AnyRef

Inherited from Any

Ungrouped