object SLF4J
- Alphabetic
- By Inheritance
- SLF4J
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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( ... ) @native() @IntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
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() @IntrinsicCandidate()
-
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
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
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(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )