Slf4jLogger

object Slf4jLogger
class Object
trait Matchable
class Any

Value members

Methods

def make(logFormat: (LogContext, => String) => String): ULayer[Logging]
def makeWithAllAnnotationsAsMdc(excludeMdcAnnotations: Set[String], logFormat: (LogContext, => String) => String): ULayer[Logging]

Creates a slf4j logger that puts all the annotations in the MDC context unless excludes by the names that are defined in mdcAnnotations in the MDC context

def makeWithAnnotationsAsMdc(mdcAnnotations: List[LogAnnotation[_]], logFormat: (LogContext, => String) => String): ULayer[Logging]

Creates a slf4j logger that puts all the annotations defined in mdcAnnotations in the MDC context

def makeWithAnnotationsAsMdcWithFilter(filter: Map[String, String] => Map[String, String], logFormat: (LogContext, => String) => String): ULayer[Logging]