Timber Exceptions v2.0.0 Timber.Exceptions View Source

Documentation for Timber.Exceptions.

Link to this section Summary

Functions

Adds the Timber exception handler

Disables the default tty output for the error logger

Removes the Timber exception handler

Restores the tty output for the error logger

Link to this section Functions

Adds the Timber exception handler

The Timber exception handler (Timber.Exceptions.ErrorLogger) is added as a report handler for :error_logger if it has not already been added.

Link to this function

disable_tty() View Source
disable_tty() :: :ok

Disables the default tty output for the error logger

Removes the Timber exception handler

Restores the tty output for the error logger

The default :error_logger_tty_h report handler is added for :error_logger.