ErrorLogger

harness.zio.ErrorLogger
See theErrorLogger companion object
final case class ErrorLogger[-E](convert: E => (LogLevel, String))

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def log(e: E, context: (String, Any)*): URIO[Logger, Unit]
def logCause(e: Cause[E], causeLevel: LogLevel, stackTraceLevel: Option[LogLevel], context: (String, Any)*): URIO[Logger, Unit]
def logCauseSimple(e: Cause[E], causeLevel: LogLevel, stackTraceLevel: Option[LogLevel], context: (String, Any)*): URIO[Logger, Unit]
def withPrefix(prefix: String): ErrorLogger[E]

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product