Timber Exceptions v2.1.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
Link to this function
add_handler()
View Source
add_handler()
View Source
add_handler() :: :gen_event.add_handler_ret()
add_handler() :: :gen_event.add_handler_ret()
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()
View Source
disable_tty() :: :ok
disable_tty() :: :ok
Disables the default tty output for the error logger
Link to this function
remove_handler()
View Source
remove_handler()
View Source
remove_handler() :: :gen_event.del_handler_ret()
remove_handler() :: :gen_event.del_handler_ret()
Removes the Timber exception handler
Link to this function
restore_tty()
View Source
restore_tty()
View Source
restore_tty() :: :gen_event.add_handler_ret()
restore_tty() :: :gen_event.add_handler_ret()
Restores the tty output for the error logger
The default :error_logger_tty_h
report handler is added for :error_logger
.