logErrorDiscard

harness.zio.ZIOOps$package$.ZIOLogTelemetryOps.logErrorDiscard$
object logErrorDiscard extends ErrorLogOps

Attributes

Graph
Supertypes
class ErrorLogOps
class Object
trait Matchable
class Any
Self type

Members list

Value members

Inherited methods

def cause(causeLevel: LogLevel, context: (String, Any)*)(implicit trace: Trace, errorLogger: ErrorLogger[E]): URIO[R, Option[A]]

No matter the Cause, log it, and succeed with None.

No matter the Cause, log it, and succeed with None.

Attributes

Inherited from:
ErrorLogOps
def failure(context: (String, Any)*)(implicit trace: Trace, errorLogger: ErrorLogger[E]): URIO[R, Option[A]]

If the Cause has a Cause.Fail, log it, and succeed with None.

If the Cause has a Cause.Fail, log it, and succeed with None.

Attributes

Inherited from:
ErrorLogOps
def simpleCause(causeLevel: LogLevel, context: (String, Any)*)(implicit trace: Trace, errorLogger: ErrorLogger[E]): URIO[R, Option[A]]

No matter the Cause, log it, and succeed with None. If the Cause contains a Cause.Fail, only that cause will be logged, instead of all potential causes.

No matter the Cause, log it, and succeed with None. If the Cause contains a Cause.Fail, only that cause will be logged, instead of all potential causes.

Attributes

Inherited from:
ErrorLogOps