View Source EventStreamex.Operators.Logger.LoggerAdapter (EventStreamex v1.3.1)

An error logger adapter that writes logs in the console.

See EventStreamex.Operators.Logger.ErrorLoggerAdapter for more information about the error logging.

Summary

Functions

Returns a specification to start this module under a supervisor.

Logs an error with the :critical level. The operator will not be restarted again.

Logs an error with the :error level. The operator will be restarted.

Starts the adapter

Functions

Link to this function

child_spec(init_arg)

View Source (since 1.0.0)

Returns a specification to start this module under a supervisor.

See Supervisor.

Link to this function

log_failed(module, reason, retry_status)

View Source (since 1.0.0)

Logs an error with the :critical level. The operator will not be restarted again.

Link to this function

log_retry(module, reason, retry_status)

View Source (since 1.0.0)

Logs an error with the :error level. The operator will be restarted.

Link to this function

start_link(opts)

View Source (since 1.0.0)

Starts the adapter