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 aspect annotation key for slf4j marker name
- def loggerName(value: String): ZIOAspect[Nothing, Any, Nothing, Any, Nothing, Any]
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
- val loggerNameAnnotationKey: String
log aspect annotation key for slf4j logger 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]
- def slf4j(format: LogFormat): ZLayer[Any, Nothing, Unit]
- def slf4j(format: LogFormat, loggerName: (Trace) => String): ZLayer[Any, Nothing, Unit]
- 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()
Deprecated Value Members
- def slf4j(logLevel: LogLevel): ZLayer[Any, Nothing, Unit]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.1) use layer without logLevel
- def slf4j(logLevel: LogLevel, format: LogFormat): ZLayer[Any, Nothing, Unit]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.1) use layer without logLevel
- def slf4j(logLevel: LogLevel, format: LogFormat, loggerName: (Trace) => String): ZLayer[Any, Nothing, Unit]
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.1) use layer without logLevel