object SLF4J
- Alphabetic
- By Inheritance
- SLF4J
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getLoggerName(default: String = "zio-slf4j-logger"): (Trace) => String
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
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val logFormatDefault: LogFormat
default log format for slf4j logger
- def logMarkerName(value: String): ZIOAspect[Nothing, Any, Nothing, Any, Nothing, Any]
slf4j marker name aspect
slf4j marker name aspect
annotation key: SLF4J.logMarkerNameAnnotationKey
- val logMarkerNameAnnotationKey: String
log annotation key for slf4j marker name
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def slf4j: ZLayer[Any, Nothing, Unit]
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
- def slf4j(format: LogFormat): ZLayer[Any, Nothing, Unit]
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
- def slf4j(format: LogFormat, loggerName: (Trace) => String): ZLayer[Any, Nothing, Unit]
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
- def slf4jLogger(format: LogFormat, loggerName: (Trace) => String): ZLogger[String, Unit]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()